Subject: Re: THREAD SAFETY section
To: Michael C. Richardson <mcr@sandelman.ottawa.on.ca>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-userlevel
Date: 09/11/1998 09:08:27
On Fri, 11 Sep 1998 07:39:40 -0400
"Michael C. Richardson" <mcr@sandelman.ottawa.on.ca> wrote:
> For instance, strtok() would be hard to make make thread-safe, I think.
In fact, impossible :-)
IIRC, POSIX added strtok_r() (too bad they didn't use strsep(), which 4.4BSD
already had :-)
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: +1 408 866 1912
NAS: M/S 258-5 Work: +1 650 604 0935
Moffett Field, CA 94035 Pager: +1 650 940 5942