Re: Re[2]: Eu 3 multi processor?
akusaya wrote:
>
> > I could be mistaken, but I don't think Eu actually uses hardware threading.
> > Eu has it's own task scheduler.
>
> > Chris Bensler
>
> Yeah, I know that, and probably that is the cause.
>
> So are we going to make Eu utilize > 1 CPU? Looks like we need other
> multithreading model..
>
This has been discussed in great detail in the past.
Euphoria doesnt support pre-emptive multi-threaded programming. A large portion
of interpreter and translator code will need to be re-written and mutex locks
applied throughout. The C libraries that Euphoria depend upon internally will
need be thread-safe and a garbage collection memory management system would
likely need to replace the existing reference counting system.
I'm sure Euphoria will adopt this feature in the future now that everything is
open-source, but I think it will take quite some time for this to become reality.
Regards,
Vincent
|
Not Categorized, Please Help
|
|