On 2/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>The fork() in the program using the Solaris threads that is called >from the program using the POSIX thread run in the POSIX threads >semantic. >Can I run the fork() in the Solaris threads semantic on Solaris 9? Unclear; one reason why the Solaris thread semantics were changed is simple, it is unpredictable to a certain degree which fork() is called. That's why forkall() was backported to older releases; so you can develop and use either fork1() or forkall() for threaded programming. Casper _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
Does forkall() clone all running threads? Cheers, William -- @,,@ William James (\--/) [EMAIL PROTECTED] (.>__<.) GNU/Solaris hacker _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
