Like my compadres before me said, native threads run at the OS level, and
therefore can access multiple cpus. However, it is my understanding that
this is the only time native threads should be used. On single processor
systems, green threads are faster, and you aren't limited by any process
limitations in the OS. Since in native threads, each thread runs in it's
own process, you run the risk of running out of available processes. You
don't have that with green threads.
though I'm sure there are limitations on green threads as well, I don't
know whether or not they are definite or limited only by machine
capability.
On Fri, 30 Jul 1999, Pere Serra wrote:
> I have an easy question:
> What's the difference between native threads and green theads?
> Which one is more eficient/stable?
>
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]