Lines Matching refs:block
14 // The three threads are created and then block waiting on a condition variable.
43 // Add a basic block to the function. As before, it automatically inserts
58 // Create the return instruction and add it to the basic block
74 // Add a basic block to the function.
87 // Create an exit block.
109 // Create the return instruction and add it to the basic block
121 // We block the subthreads just before they begin to execute:
149 void block()
154 //~ std::cout << "block() n " << n << " waitFor " << waitFor << std::endl;
160 std::cout << "Unblocking threads from block()" << std::endl;
202 // enter while threads are exiting, they will block instead
207 // while threads are exiting, they will block instead of
232 synchronize.block(); // wait until other threads are at this point