Subject: Re: THREAD SAFETY section
To: Klaus Klein <email@example.com>
From: Todd Vierling <firstname.lastname@example.org>
Date: 09/11/1998 08:14:54
On 11 Sep 1998, Klaus Klein wrote:
: > For instance, strtok() would be hard to make make thread-safe, I
: > think.
Partly, that's why strtok_r() was invented in various standards.
: It wouldn't be hard; allocating a piece of thread-specific storage to
: store the internal `last' pointer is easy enough.
If we want to do so; however, I believe that strtok() is specifically said
to be unsafe in the SUS98 under threads anyway....
-- Todd Vierling (Personal email@example.com; Bus. firstname.lastname@example.org)