Mihail Mihaylov wrote:

> Is there some kind of incompatibility between network functins like 
> recvfrom and pthreads. 

If you use multiple threads, then you need to use thread-safe
libraries. Also, you may need to define various preprocessor macros
(e.g. -DREENTRANT or whatever) for the benefit of system headers.

I don't know about SunOS. On Linux, libpthread redefines various libc
functions. Linking against libpthread will cause problems if the
executable or another library wasn't compiled for a multithreaded
environment.

-- 
Glynn Clements <[EMAIL PROTECTED]>

Reply via email to