Kernel::fork should use forkall(2) on solaris instead of fork(2) ----------------------------------------------------------------
Key: JRUBY-1846 URL: http://jira.codehaus.org/browse/JRUBY-1846 Project: JRuby Issue Type: Bug Components: Java Integration Environment: Solaris Reporter: Wayne Meissner Priority: Minor Kernel::fork() will probably have to use forkall() on Solaris to have the same semantics as on Linux and MacOS where all threads are copied. According to http://docs.sun.com/app/docs/doc/816-5137/6mba5vpjq?a=view), Solaris' fork() creates a new process with only one thread (the caller thread). This has the bad side-effect of potentially leaving locks that were held by other threads still held, and may cause deadlock if any attempt is made to acquire those locks. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email