• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

10.3.2 Waiting for events
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • Multithreaded applications
        • Thread communication
          • Waiting for events
            • thread_wait/2
            • thread_update/2
    • Packages
Availability:built-in
thread_update(:Goal, :Options)
Update a module (typically using assert/1 and/or retract/1 and friends) and on completion signal threads waiting for this module using thread_wait/2 to reevaluate their Goal. Goal is synchronized between updating and waiting threads. Options:
module(+Module)
Determines the module to operate on. Default is the context module associated with the Options argument.
notify(+Atom)
Determines whether all waiting threads are activated (broadcast, default) or a single thread (signal).
ClioPatria (version V3.1.1-51-ga0b30a5)