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