[openbeos] Re: POSIX thread safety, was: Re: Waiting and waiting

"Scott MacMaster" <zqxh@xxxxxxx> wrote:
> I researched what reentrant meant after it was mentioned yesterday.  
> I read
> that reentrant functions are functions that neither use static data 
> nor
> return pointer to static data.  In addition, a reentrant functions 
> does not
> have to be thread-safe but a non-reentrant function is not thread-
> safe.  The
> definition I read didn't say that a reentrant function has to return 
> the
> same thing each time it's called with the same parameters.
> 
> Is what I read correct?
> http://www.unet.univie.ac.at/aix/aixprggd/genprogc/
> writing_reentrant_thread_
> safe_code.htm

I don't understand how a reentrant function can't be thread-safe, but 
other than that, I think this explanation looks good :-)

Adios...
   Axel.



Other related posts: