[parrot/parrot] 5ee91f: Make embed API invoke work with green threads
GitHub
noreply at github.com
Sat Jul 14 11:57:38 UTC 2012
Branch: refs/heads/gh798_embed_api_green_threads
Home: https://github.com/parrot/parrot
Commit: 5ee91fa6268ffab98a51fe7ad9a15a704d6acb3c
https://github.com/parrot/parrot/commit/5ee91fa6268ffab98a51fe7ad9a15a704d6acb3c
Author: Stefan Seifert <nine at detonation.org>
Date: 2012-07-14 (Sat, 14 Jul 2012)
Changed paths:
M config/gen/makefiles/root.in
M src/embed/pmc.c
M src/pmc/task.pmc
Log Message:
-----------
Make embed API invoke work with green threads
Task now have an optional signature data attribute which can be passed to
to Parrot_pcc_invoke_from_sig_object directly instead of creating a
signature using Parrot_ext_call.
This is used to have Parrot_api_pmc_invoke create a task and invoke the
scheduler's outer runloop instead of invoking the given sub directly.
This way the green threads infratructure is used correctly and ops like
sleep should work.
More information about the parrot-commits
mailing list