On Thu, Mar 14, 2002, Daniel Feiglin wrote about "Re: pthreads question":
> I take it that we can now "join" this thread - effectively terminating it!

What join()ing a thread actually means is that you'll block, doing nothing,
until the thread naturally ends :)

What you had in mind was more along pthread_cancel()... Note however, an
important quote from the pthread_cancel(3) manual:

 "the target thread can then either ignore the request, honor it immediately,
  or  defer it till it reaches a cancellation point."

:)


-- 
Nadav Har'El                        |        Friday, Mar 15 2002, 2 Nisan 5762
[EMAIL PROTECTED]             |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |A good programmer is someone who looks
http://nadav.harel.org.il           |both ways before crossing a one-way street.

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to