Hi all.I can not understand how to track me that the thread has finished work.
eg:
import std.concurrency;
void myThread ()
{
// Do the work
}
void main ()
{
Tid thread = spawn (& myThread);
// It is necessary to check whether the thread has finished its
work or is active.
} Could you tell me how to do this?
