Re: Phix : win32lib7

new topic     » goto parent     » topic index » view thread      » older message » newer message
ChrisB said...

I have had to take out task_yield() from win32lib.ew

Jim is spot on, it is a plain and simple bug in builtins\VM\pTask.e - hopefully adding the following to the top of task_yield() will fix it:

    if current_task=0 then return end if 

There should be no need to rebuild Phix after saving that change.
I also applied similar fixes for task_clock_start and task_list, let me know if you need them.

ChrisB said...

will commenting out win32libs task_yield cause a problem?

That would probably have been fine in the short term, for any app not invoking task_create.

Thanks for finding that,
Pete

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu