[asterisk-dev] Re: [asterisk-commits] russell: trunk r48019 - in /trunk/include/asterisk: threadstorage.h utils.h

Kevin P. Fleming kpfleming at digium.com
Wed Nov 29 10:54:38 MST 2006


Nic Bellamy wrote:
> In the books I have on POSIX threads, plus the manpages for various
> (g)libc functions, re-entrant is the term used to describe functions
> that can be called concurrently from multiple threads without problems
> (and conversely, things like ctime() - "this function is not
> re-entrant"). I'd suggest sticking with this usage.

OK, in that case, the functions in question _ARE_ reentrant, since each
thread has its own dedicated storage space for its work.


More information about the asterisk-dev mailing list