Hi Christopher, Thierry,

Op 25-4-2018 om 11:30 schreef Christopher Faulet:
Oh, these tasks can be created before the threads creation... Ok, so maybe the right way to fix the bug is to registered these tasks without specific affinity and set it on the current thread the first time the tasks are woken up.

Here is an updated (and untested) patch. Pieter, could you check it please ?

Thierry, is there any way to create cosockets and applets from outside a lua's task and then manipulate them in the task's context ?

Thanks, works for me.
I've only tested the last patch from Christopher, and that seems to do the trick nicely for my situation. If you guys come up with a different approach i'm happy to try that as well instead.

Regards,
PiBa-NL (Pieter)


Reply via email to