> problems: just _how_ high woul dyou move it? Would it potentially disturb > an application that opens thousands of files, and knows that they get > consecutive file descriptors? Which is _legal_ and well-defined in UNIX. Only if you close them before. The process may have been started with arbitrary fds open. > say "if you use fast semaphores, they use file descriptors and you should > no longer depend on consecutive fd's". Which you cannot anyway. Already some library routines can open fds although they don't explicitly say so and don't have to in all implementations, like openlog() or all the get*by*() stuff (or even dlopen()), so you are never sure to know which or how many FDs you actually have open. Olaf - 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 Alexander Viro
- 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