Messages in this thread |  | | Subject | Re: Can EINTR be handled the way BSD handles it? -- a plea from a user-land programmer... | From | Ulrich Drepper <> | Date | 06 Nov 2000 11:11:27 -0800 |
| |
Ulrich Drepper <drepper@redhat.com> writes:
> "Theodore Y. Ts'o" <tytso@MIT.EDU> writes: > > > Arguably though the bug is in glibc, in that if it's using signals > > behinds the scenes, it should have passed SA_RESTART to sigaction. > > Why are you talking such a nonsense?
[Note to self: remove kitten from keyboard before writing mail.]
Glibc has to use signals because there *still* is not mechanism in the kernel to allow synchronization. After how many years.
I don't blame Linux. He has no interest in threads and therefore spends not much time thinking about it. But everybody who's complaining about things like this has to be willing to fix the real problems.
Get your ass up and write a fast semaphore/mutex system.
-- ---------------. ,-. 1325 Chesapeake Terrace Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA Red Hat `--' drepper at redhat.com `------------------------ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |