[openbeos] Re: POSIX thread safety, was: Re: Waiting and waiting
- From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
- To: openbeos@xxxxxxxxxxxxx
- Date: Tue, 10 Dec 2002 23:30:50 +0100 CET
"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.
- Follow-Ups:
- [openbeos] Re: POSIX thread safety, was: Re: Waiting and waiting
- From: Alexander G. M. Smith
- References:
- [openbeos] Re: POSIX thread safety, was: Re: Waiting and waiting
- From: Scott MacMaster
Other related posts:
- » [openbeos] Re: POSIX thread safety, was: Re: Waiting and waiting
- » [openbeos] Re: POSIX thread safety, was: Re: Waiting and waiting
- » [openbeos] Re: POSIX thread safety, was: Re: Waiting and waiting
- » [openbeos] Re: POSIX thread safety, was: Re: Waiting and waiting
- » [openbeos] Re: POSIX thread safety, was: Re: Waiting and waiting
- » [openbeos] Re: POSIX thread safety, was: Re: Waiting and waiting
- » [openbeos] Re: POSIX thread safety, was: Re: Waiting and waiting
- » [openbeos] Re: POSIX thread safety, was: Re: Waiting and waiting
- » [openbeos] Re: POSIX thread safety, was: Re: Waiting and waiting
- » [openbeos] Re: POSIX thread safety, was: Re: Waiting and waiting
- » [openbeos] Re: POSIX thread safety, was: Re: Waiting and waiting
- » [openbeos] Re: POSIX thread safety, was: Re: Waiting and waiting
- » [openbeos] Re: POSIX thread safety, was: Re: Waiting and waiting
- » [openbeos] Re: POSIX thread safety, was: Re: Waiting and waiting
- » [openbeos] Re: POSIX thread safety, was: Re: Waiting and waiting
- » [openbeos] Re: POSIX thread safety, was: Re: Waiting and waiting
- » [openbeos] Re: POSIX thread safety, was: Re: Waiting and waiting
- » [openbeos] Re: POSIX thread safety, was: Re: Waiting and waiting
- » [openbeos] Re: POSIX thread safety, was: Re: Waiting and waiting
- » [openbeos] Re: POSIX thread safety, was: Re: Waiting and waiting
- [openbeos] Re: POSIX thread safety, was: Re: Waiting and waiting
- From: Alexander G. M. Smith
- [openbeos] Re: POSIX thread safety, was: Re: Waiting and waiting
- From: Scott MacMaster