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 <[email protected]>
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.
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-commits