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%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: Tue, 5 Feb 2019 11:56:57 +0900

 >>>>> On Thu, 10 May 2018 02:45:00 +0000 (UTC), soda%NetBSD.org@localhost said:
 
 > even if the processes don't share virtual memory space.
 
 This sentence was not accurate.
 Correct expression is:
 	even if the processes don't use same virtual memory space.
 
 Acutally, the POSIX specification implicitly assumes that the
 processes share same memory (via mmap or something).
 Although it doesn't assumes that the processes don't use same 
 memory space (like parent and fork()ed children).
 -- 
 soda
 


Home | Main Index | Thread Index | Old Index