Io Reference







Concurrency   /   Thread   /   Thread





For native threads. Example use;
	
Thread createThread("1+1") // evals 1+1 in a new thread and an independent Io VM
 
 
 



createThread(aSequence)

Creates a new IoState and evals aSequence in it using a new OS thread. Returns self immediately.
endCurrentThread

Ends the currently running OS thread.
threadCount

Returns the number of OS threads currently running in the process.