Please sign in to comment.
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.
- Loading branch information...
Showing with 26 additions and 3 deletions.