On Thu, 19 Apr 2001, Alan Cox wrote: > > 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. Ehh.. I will bet you $10 USD that if libc allocates the next file descriptor on the first "malloc()" in user space (in order to use the semaphores for mm protection), programs _will_ break. You want to take the bet? Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Re: light weight user level semaphores Abramo Bagnara
- Re: light weight user level semaphores Linus Torvalds
- Re: light weight user level semaphores Abramo Bagnara
- Re: light weight user level semaphores Ingo Oeser
- Re: light weight user level semaphor... Linus Torvalds
- Re: light weight user level semaphores Ingo Oeser
- Re: light weight user level semaphores Alan Cox
- Re: light weight user level semaphores Linus Torvalds
- Re: light weight user level semaphores Olaf Titz
- Re: light weight user level semaphores George Talbot
- Re: light weight user level semaphores Linus Torvalds
- Re: light weight user level semaphores Alan Cox
- Re: light weight user level semaphores Rogier Wolff
- Re: light weight user level semaphores Olaf Titz
- Re: light weight user level semaphores Jesse Pollard
- Re: light weight user level semaphores Olaf Titz
- Re: light weight user level semaphores Linus Torvalds
- Re: light weight user level semaphores Olaf Titz
- Re: light weight user level semaphores David Woodhouse
- Re: light weight user level semaphores David Howells