[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
The following reply was made to PR lib/53273; it has been noted by GNATS.
From: SODA Noriyuki <soda%NetBSD.org@localhost>
Subject: Re: lib/53273: sem_init() with pshared=1 does not actually work
Date: Thu, 10 May 2018 12:34:10 +0900
>>>>> 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. ;-)
Main Index |
Thread Index |