Unused druntime code: Barrier, ReadWriteMutex, Condition

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Tue Jun 16 11:14:25 UTC 2026


On 16/06/2026 11:12 PM, Denis Feklushkin wrote:
> On Tuesday, 16 June 2026 at 10:41:00 UTC, Richard (Rikki) Andrew 
> Cattermole wrote:
> 
>> So version it off like we do with bindings.
>>
>> There is no reason to break existing code when we can do that.
>>
>> ```d
>> version(FreeRTOS)
>>     version = NoBarrier;
>> ```
> 
> But this will break existing code which using Barrier when cross- 
> compiling for FreeRTOS :-)

Nobody is compiling for FreeRTOS using upstream druntime if it hasn't 
been ported.

So there is nothing to break.



More information about the Digitalmars-d mailing list