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 02:45:00 +0000 (UTC), 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.
typedef int sem_t;

Home | Main Index | Thread Index | Old Index