
8 Mar
2005
8 Mar
'05
2:45 p.m.
On Tue, 2005-03-08 at 06:20 -0700, Jeff Garland wrote:
On Tue, 8 Mar 2005 14:48:00 +0200, Peter Dimov wrote
Well I don't think just calling the _r function is enough to ensure the thread safety of this code. I believe I would have to insert a lock in the date-time code to make this assurance.
Yes it is. the _r versions require a user supplied buffer. So each caller supplying there own buffer is what makes them re-entrant. /ikh