> I fail to see how this works across processes. How can you generate a > file descriptor for this pipe in a second process which simply shares > some memory with the first one? The first process is passive: no file > descriptor passing must be necessary. mknod foo p. Or use sockets (although AF_UNIX sockets are higher latency) Thats why I suggested using flock - its name based. Whether you mkstemp() stuff and pass it around isnt something I care about Files give you permissions for free too > Note that semaphores need not always be shared between processes. > This is a property the user has to choose. So the implementation can > be easier in the normal intra-process case. So you have unix file permissions on them ? - 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 semap... Alon Ziv
- Re: light weight user level semap... David Howells
- Re: light weight user level semaphores Jeff Garzik
- Re: light weight user level semaphores Ingo Oeser
- Re: light weight user level semaphores David Wagner
- Re: light weight user level semaphores Alexander Viro
- Re: light weight user level semaphores Alexander Viro
- Re: light weight user level semaphores Linus Torvalds
- Re: light weight user level semaphores Alexander Viro
- Re: light weight user level semaphores Ulrich Drepper
- Re: light weight user level semaphores Alan Cox
- Re: light weight user level semaphores Ulrich Drepper
- Re: light weight user level semaphore... Alan Cox
- Re: light weight user level semap... Ulrich Drepper
- Re: light weight user level semaphores Ingo Oeser
- Re: light weight user level semaphores Ulrich Drepper
- Re: light weight user level semaphores Linus Torvalds
- Re: light weight user level semaphores Alan Cox
- Re: light weight user level semaphores Linus Torvalds
- Re: light weight user level semaphores Ulrich Drepper
- Re: light weight user level semaphore... Linus Torvalds