[omniORB] forking and linking with -lpthread

Eric Marsden emarsden@laas.fr
Thu, 28 Mar 2002 17:55:13 +0100


Hi,

I ran into strange problems with omniORB from CVS on Linux 2.4. We
weren't linking with -lpthread, and calls to fork() in a servant were
causing the server threads to hang at the point fork() was called (no
child process was created). Adding the library makes things work as
expected.

Does anyone have an idea of what the problem is exactly? If someone
has a good explanation, it might be good to add it to the wiki.

Thanks,

-- 
Eric Marsden                          <URL:http://www.laas.fr/~emarsden/>