GC deadlocks on linux
Kagamin via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Feb 20 14:07:54 PST 2015
On Friday, 20 February 2015 at 14:33:31 UTC, Ola Fosheim Grøstad
wrote:
> Yeah, either use plain C or avoid 3rd party libraries... I
> guess that includes phobos ;)
AFAIK, in early days of unix there were no threads, processes
were single-threaded, fork was the way to concurrency and exec
was the most efficient way to run a program in memory-constrained
conditions of 70s (kbytes of RAM!). Plain unix-like
single-threaded processes, plain C heap, which didn't serialize
access, because no threads, and worked fine with just virtual
memory, which fork got right. That's the model, which should work
the best with fork+exec.
More information about the Digitalmars-d-learn
mailing list