Language idea - simple thread spawning

James Miller james at aatch.net
Fri Feb 17 03:15:21 PST 2012


Also, the current bog-standard way to spawn threads is easy enough

spawn(function () {
     // do things
});

admittedly the processing of stopping a thread is a bit trickier, but
not much. And artur's example shows a simple way of doing it. This
syntax won't really give us anything we can't already do.

--
James Miller


More information about the Digitalmars-d mailing list