[Top][All Lists]

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

Re: Reentrant argp

From: Niels Möller
Subject: Re: Reentrant argp
Date: 20 May 2003 09:48:27 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

"M. Gerards" <> writes:

> For the screensaver patch I sent yesterday to bug-hurd I assumed argp is 
> reentrant. Is this really the case for GNU/Hurd? It is for GNU/Linux, but I'm 
> not sure yet about GNU/Hurd.

argp uses getopt. getopt uses global variables to keep state. And as
far as I know getopt doesn't use tricks like thread local storage.
So it's not reentrant.

My hacked argp,
doesn't depend on getopt, and doesn't use global variables.


reply via email to

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