Re: (Fwd) Re: includes inside squid.conf

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 3 Apr 2002 14:25:19 +0200

Robert Collins wrote:

> Except for the OS with majority market share. It doesn't have an
> efficient fork().

Global market share for desktops, or Squid related market share?

Do this OS have an efficient vfork? Or even efficient execve?

> Most C libraries have thread-specific errno these days, and if they
> don't have that but do have kernel threading... there is a real
> non-squid problem, because most C calls that set errno are not
> syncronised.
>
> errno being touched by execve is IMO explicitly allowed by the vfork
> description, as execve is an allowed call.

Do you dare to bet that vfork+execve is threads safe in all the relevant
environments? I don't.

Regards
Henrik
Received on Wed Apr 03 2002 - 05:25:32 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:57 MST