httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Robert S. Thau)
Subject Re: Win32 Progress Report
Date Tue, 06 Aug 1996 16:24:53 GMT
  Would it be possible perhaps to have some sort of central mutex registry
  for unsafe library calls keyed by function names?

Keying by function name is probably inadequate --- if, say, getpwnam and
getpwuid use the same buffer for their output, you clearly need to use the
same mutex for both (and to keep the mutex held for as long as you're
examining data in that buffer --- a problem that gets even worse for
routines like strtok() and getpwent() which maintain hidden state).


View raw message