Changes between Version 8 and Version 9 of Documentation/SystemQueue


Ignore:
Timestamp:
Feb 4, 2010, 6:11:39 PM (15 years ago)
Author:
Christoph Mayer
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/SystemQueue

    v8 v9  
    8080}}}
    8181
     82
     83== Using the EnterMethod functionality ==
     84
     85If using events seems to complicated, Ariba provides an easier method called EnterMethod. It simply interrupts the Ariba thread, puts it into a safe state so you can call whatever function you require on the Ariba interface.
     86
     87{{{
     88#!cpp
     89#include ariba/utility/system/EnterMethod.h"
     90using ariba::utility::EnterMethod;
     91...
     92// other thread
     93EnterMethod e;
     94e.enter();
     95// ariba thread halted in save state
     96// run your code
     97...
     98}}}
     99
    82100== Using Blocking Code ==
    83101