[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Patrick Pfeifer
Subject: (non)reentrancy
Date: Thu, 5 Jun 2003 04:00:54 +0200

reentrent functions are great!!!

nonreentrant ones are a bit obscure to me.
i just spent an hour debugging my pam_wheel-hack,
because it uses nonreentrant get{pw,gr}{uid,nam}.

the data i wanted got lost on the way down, it's
particulary strange, that the other hack worked,
where i examined the data just a few lines before.

anyways - those _non_reentrant functions - how
does that work with a _shared_ (read: shared
by different processes in a multithreaded env.)
library? - does the library keep a seperate
return data area for each process, or do you have
to be fast and lucky to examine the data you requested ???

RTFS, i know - but in the glibc-tree its really
hard to get where you want - i tried only once
and saw nothing but macros, macros, macros

thank you for your time


reply via email to

[Prev in Thread] Current Thread [Next in Thread]