On Fri, Jun 03, 2005 at 07:55:29PM -0400, Aziz Kezzou wrote:
> It's probably not the right mailing list to ask but I am really
> surprised about global variable sharing in a multithreaded C
> application. If I remember well my multithreading course global
> variables are shared between threads, right ?

fork() creates new processes, not new threads. Check pthread_create
for the latter.

Joerg
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to