Re: your mail

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 25 Feb 2002 13:16:09 +0000 (GMT)


> > fd = sem_initialize();
> > mmap(fd, ...)
> > ..
> > munmap(..)
> >
> > which gives you a handle for the semaphore.
>
> No no no! Implemented exactly that (and posted to l-k IIRC), and it's
> *horrible* to use.

All Linus forgot was to sem_initialize("filename"); With that the rest
comes out for free.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/