[m-dev.] for review: changes to runtime required for webserver
Tyson Dowd
trd at cs.mu.OZ.AU
Thu Aug 24 14:07:34 AEST 2000
On 24-Aug-2000, Robert JESCHOFNIK <rejj at students.cs.mu.oz.au> wrote:
> I was thinking of the distinction between a Mercury thread and a POSIX thread.
> An application with multiple Mercury threads is still `single threaded' as far
> as the rest of the world is concerned, when looked at from the outside (in non
> .par grades, or in .par with -P 1)
I'm currently working on an example where the rest of the world is
multi-threaded, and wants to call into Mercury in different threads.
So I'm planning on changing how init_thread (which starts new Mercury
engines) and pragma export work, so that when you export Mercury in .par
grades, it will start a new engine if there isn't one already in your
thread.
It's not necessarily relevant to this conversation, but I just thought
I'd mouth off about it for a bit.
--
Tyson Dowd #
# Surreal humour isn't everyone's cup of fur.
trd at cs.mu.oz.au #
http://www.cs.mu.oz.au/~trd #
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list