1. Threads on Win32 Euphoria

Hi folks,

Does anybody know how to use threads in the Win32 version of euphoria?
Does this even work, or are we restricted by routine_id()?

thanks
nonlerer

new topic     » topic index » view message » categorize

2. Re: Threads on Win32 Euphoria

I'm guessing, but I'm under the impression that threads require *real* =
function addresses. The only Euphoria routine address I know how to get =
is the callback address, using call_back(). The problem is that the =
Euphoria callback function requires four parameters, while the thread =
function expects only one. You would probably have difficulty convincing =
Win32 that the callback address was a good thread function address - =
you'd probably get an internal frame error or something.

-- David Cuny

new topic     » goto parent     » topic index » view message » categorize

3. Re: Threads on Win32 Euphoria

nonlerer writes:
> Does anybody know how to use threads in
> the Win32 version of euphoria?
> Does this even work, or are we restricted
> by routine_id()?

Euphoria 2.0 does not support threads.
A future release might, if there is enough
demand for it. It's not a trivial thing to add.

With threads you can have parallelism *within*
a single program. This goes beyond the usual parallelism
that lets the OS run two or more programs (processes)
at the same time.

Regards,
     Rob Craig
     Rapid Deployment Software

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu