Adam <[EMAIL PROTECTED]> wrote: > In message <[EMAIL PROTECTED]>, alan buckley wrote: > > > If it should, is there anyway I can test for context switching being > > disabled in C code > > I'd like to second this request. As previously discussed on this list, I > use Wimp_StartTask and I have to surround it with > __pthread_stop/start_ticker() depending on exactly when it's called. > Being able to determine whether context switching is enabled would be > useful. Is there a straightforward way this is achieved for Wimp_Poll?
For Wimp_Poll it installs wimp filters, but I'm not aware of any equivalent method of trapping Wimp_StartTask so it has to be done manually. However it should be possible to create more user friendly functions that can cope with restoring the previous state. Alex -- Alex Waugh [EMAIL PROTECTED] PHP, Roots, Subversion, WebJames and more from http://www.alexwaugh.com/ _______________________________________________ GCCSDK mailing list [email protected] Bugzilla: http://www.riscos.info/bugzilla/index.cgi List Info: http://www.riscos.info/mailman/listinfo/gcc Main Page: http://www.riscos.info/index.php/GCCSDK
