10.7 Multithreading and the XPCE graphics system
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • Multithreaded applications
        • Multithreading and the XPCE graphics system
          • in_pce_thread/1
          • in_pce_thread_sync/1
    • Packages
[det]in_pce_thread(:Goal)
This call gives any Prolog thread the opportunity to run calls in the XPCE thread. A call to in_pce_thread/1 succeeds immediately, copying Goal to the XPCE thread. Goal is added to the XPCE event queue and executed synchronous to normal user events like typing, clicking and XPCE timers.