Re: light weight user level semaphores

Alan Cox
2001-04-19T16:37:43Z

> can libraries use fast semaphores behind the back of the user? They might
> well want to use the semaphores exactly for things like memory allocator
> locking etc. But libc certainly cant use fd's behind peoples backs.

libc is entitled to, and most definitely does exactly that. Take a look at
things like gethostent, getpwent etc etc.

Alan