|
Message-ID: <ZrhApJUFqiTAJS8L@voyager> Date: Sun, 11 Aug 2024 06:40:04 +0200 From: Markus Wichmann <nullplan@....net> To: musl@...ts.openwall.com Cc: Alexey Izbyshev <izbyshev@...ras.ru> Subject: Re: Memory lock needed for semaphores? Am Sat, Aug 10, 2024 at 04:47:20PM -0400 schrieb Rich Felker: > How does the attached look? > Looks good to me. I had imagined an extension of the scenario to more threads, but thinking about it further, I noticed that in that scenario the semaphore value is never more than 1. And in the scenario where it does get larger, the unmap is invalid, as you said in the other mail. So yeah, looks good to me. Ciao, Markus
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.