NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/53273: sem_init() with pshared=1 does not actually work



>>>>> On Thu, 10 May 2018 12:04:54 +0900, SODA Noriyuki <soda%NetBSD.org@localhost> said:

> Or, just using kernel semid as sem_t may be an option,
> although I'm not sure whether that causes any problem or not.

Currently what ksem_init() returns is just a file descriptor,
and that cannot be shared between processes.
So, not only library, but also kernel has to be changed too.
Thus, the "lib/" category of this PR seems wrong. ;-)



Home | Main Index | Thread Index | Old Index