SourcePro Core
:
Threads Module User's Guide
:
PART II Concurrency Packages
:
The Interthread Communication Package
:
The IOU Classes
:
Trapping IOUs with RWTIOUTrap
: Waiting for Trapped IOUs
Waiting for Trapped IOUs
A thread waits for trapped IOUs to become redeemable by calling the trap’s
getNext()
function. This function returns the next IOU in its internal queue, and waits for an IOU to arrive if the queue is found to be empty.
This site works best with JavaScript enabled