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
The following reply was made to PR lib/53273; it has been noted by GNATS.
From: SODA Noriyuki <soda%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: lib-bug-people%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost
Subject: Re: lib/53273: sem_init() with pshared=1 does not actually work
Date: Thu, 10 May 2018 12:04:54 +0900
>>>>> On Thu, 10 May 2018 02:45:00 +0000 (UTC), soda%NetBSD.org@localhost said:
> change the definition of sem_t from an opaque pointer to an actual struct
> just like other UNIXes.
Or, just using kernel semid as sem_t may be an option,
although I'm not sure whether that causes any problem or not.
But jmcneill@ pointed out that macOS is using such implementation.
i.e.
typedef int sem_t;
Home |
Main Index |
Thread Index |
Old Index