Change 19118 by [EMAIL PROTECTED] on 2003/04/01 16:17:04

        Document the _exit() issue with threads in Linux [perl #17057].

Affected files ...

... //depot/perl/ext/POSIX/POSIX.pod#33 edit

Differences ...

==== //depot/perl/ext/POSIX/POSIX.pod#33 (text) ====
Index: perl/ext/POSIX/POSIX.pod
--- perl/ext/POSIX/POSIX.pod#32~18569~  Wed Jan 22 13:00:59 2003
+++ perl/ext/POSIX/POSIX.pod    Tue Apr  1 08:17:04 2003
@@ -68,6 +68,12 @@
 This is identical to the C function C<_exit()>.  It exits the program
 immediately which means among other things buffered I/O is B<not> flushed.
 
+Note that when using threads and in Linux this is B<not> a good way to
+exit a thread because in Linux processes and threads are kind of the
+same thing (Note: while this is the situation in early 2003 there are
+projects under way to have threads with more POSIXly semantics in Linux).
+If you want not to return from a thread, detach the thread.
+
 =item abort
 
 This is identical to the C function C<abort()>.  It terminates the
End of Patch.

Reply via email to