Ask a Question related to UNIX Programming, Design and Development.
-
DL #1
Static void
Hi,
In a gnu/linux env, I have a library exposes one function foo() to a
multithreaded server application. Here are my questions:
1. any concurrent issues need to be considered in the server code, suppose
foo() itself as simple as { int i = 1 + 2; }and the lib just has one
fuction, or the gnu runtime will handle this?
2. static void foo() will make any difference?
3. if there is another lib function bar() will be called by foo(), but I
want hide bar() from outside apps or/and it cannot be called directly, is
there a way to do so?
TIA
dl
DL Guest
-
#39713 [NEW]: Static variables defined in static methods duplicated in derived classes
From: paul at digitalbacon dot us Operating system: Linux, Mac OS X 10.4, Windows XP PHP version: 5.2.0 PHP Bug Type: ... -
#39664 [NEW]: Invokation of non-static method as static issue
From: john dot hargrove at sellingsource dot com Operating system: Gentoo Linux 2.6 kernel PHP version: 5.2.0 PHP Bug Type: ... -
#39048 [NEW]: Static variables and instantiated classes. private static doesn't work.
From: matti at nitro dot fi Operating system: * PHP version: 5.1.6 PHP Bug Type: Scripting Engine problem Bug description: ... -
#38783 [NEW]: Call to non-static as static E_STRICT thrown when error reporting set to E_ALL
From: dmb27 at cornell dot edu Operating system: Redhat AS 4 PHP version: 5.1.6 PHP Bug Type: Class/Object related Bug... -
Should VOID = 0?
Just wondering what you think about VOID being equal to 0? Personally I wish that void didn't equal 0 as it can cause problems for some checks,...



Reply With Quote

