Unused druntime code: Barrier, ReadWriteMutex, Condition

Denis Feklushkin feklushkin.denis at gmail.com
Mon Jun 15 10:34:27 UTC 2026


On Monday, 15 June 2026 at 09:59:06 UTC, Richard (Rikki) Andrew 
Cattermole wrote:

>>> There are enough primitives in FreeRTOS to build these other 
>>> sync primitives.
>> 
>> Most likely, these primitives do not exist in any OS - they 
>> are too high-level and can be implemented on the basis of 
>> "more primitive" primitives. (Posix implementation just 
>> provides convient wrapper, I think)
>
> They do.
>
> Windows Internals 7th edition, part 2.
>
> Page 205-206.

A cool take for an online debate in 2026 :-)

> Reasoning mentioned is that it has performance benefits.

Luckily, druntime don't use it for Windows



More information about the Digitalmars-d mailing list