Prashant Chandra wrote:
>
> You are right. It doesn't happen with green threads.
> But the code in invoke.c does not explicitly create any
> native threads.
>
> I should read up on the pthreads implementation on Linux.
> Are these pthreads processes in anyway different from normal
> processes (
You are right. It doesn't happen with green threads.
But the code in invoke.c does not explicitly create any
native threads.
I should read up on the pthreads implementation on Linux.
Are these pthreads processes in anyway different from normal
processes (i.e context switch is inexpensive)?
On Linux, threads take up their own entries in the process table. Those
"processes" are threads.
Nathan
Prashant Chandra wrote:
>
> I had posted this a few days ago, but somehow it
> didn't
> appear on the mailing list. I am trying again.
>
> I tried compiling and running the invoke.c exampl