Both share address space, but proccreate creates another process.
This process can block on doing IO or some other system call that will
block the progress of the process.  Threads are co-routines in a
single process.  None of them will run if the process blocks on, say,
a read.  So, proccreate processes to do the IO and have them use
channels to send messages to worker threads.

Sape has a good paper on all this, as is Rob's paper on Newsqueak.

> I need some help in understnading the difference
> between proccreate() and threadcreate(). What
> are the scenario where usage of one is better than
> the other?
> 
> -ishwar

Reply via email to