Druntime without pthreads?

Denis Feklushkin feklushkin.denis at gmail.com
Wed Oct 21 16:04:20 UTC 2020


On Tuesday, 20 October 2020 at 16:58:12 UTC, Severin Teona wrote:

> My curiosity is what would change if I removed from the 
> druntime everything that has to do with mutexes or threads.

Nothing if you don't plan to use multithreading.

I temporary disabled threading and appropriate unittests from my 
fork of druntime without any problem.

> Would it be possible for the druntime to run and work properly 
> on a microcontroller - where those concepts are not necessary?

Sure

> Could I just remove everything about synchronisation from the 
> druntime, and classes or Garbage Collector to still work 
> properly?

Yes



More information about the Digitalmars-d-learn mailing list