For Programmers: Free Programming Magazines  


Home > Archive > ithreads > June 2007 > RE: shared variables and "require" (or "do")









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author RE: shared variables and "require" (or "do")
Jerry D. Hedden

2006-07-26, 7:08 pm

> >>> It would be very helpful if you would post a "complete" example that
>
>
> I usually add this to take into account the situation where a thread
> dies without a proper "return". It's not necessairy here.


When a thread dies, it does not cause a SIGCHLD to be generated. That
only occurs with forked processes. Therefore, if you are not using
'fork', you do not need a $SIG{CHLD} handler.

If a thread executes 'die' (i.e., does not 'return' from the entry point
function), then a warning is issued, and the thread must still be
cleaned up using 'join' or 'detach'.

Gffgdhdgfdgdfg

2007-04-22, 10:50 am

http://Natalie-Portman-anal-action....hp?movie=148803
Adjobasup7

2007-05-04, 12:15 am

http://Britney-Spears-jerking.info/...hp?movie=148803
Shawtywatitis23

2007-05-04, 9:31 pm

Wet video starring incredible asian girl!
http://www.incredible-asians-online...dicked_hard.avi
Brie

2007-05-09, 8:43 am

http://Natalie-Portman-anal-action....hp?movie=726071
Edmosterjoder5

2007-05-22, 12:20 am

http://Celine-Dion-facestanding-mov...p?movie=1673286
Mebun

2007-06-12, 3:44 am

Watch these cuties used by a huge tool owner!
http://nice-females-dicked.org/video?id=218571
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com