Re: Phix : win32lib7
- Posted by jimcbrown (admin) Dec 12, 2016
- 1492 views
ChrisB said...
C:\euphoria\Phix\builtins\VM\pTask.e:610 in procedure task_yield()
so I'm guessing that task_yield is a win32lib7 function.
Not sure why you'd guess that. It's obviously a builtin in Phix. It's also an OE builtin: http://openeuphoria.org/docs/std_task.html#_2011_task_yield
ChrisB said...
However, there is no win32lib(7) call to task_create().
Sounds like a bug in Phix - if there are no tasks, then task_yield() should check that and do nothing (instead of crashing).
Though this formulation is odd - in OE there is always at least one task running, even if no other tasks are created - the main task that runs the main body of the code.