On Wed, Dec 28, 2011 at 07:53:00PM +0000, Eduardo Horvath wrote: > All threaded programs have problems with #1 which is why they have thread > safe libraries and locks. Or do locks not work after the vfork() call?
Locks can and do interact very badly with both fork and vfork. They are not pure memory constructs. Joerg