40 namespace Gecode {
namespace Support {
An interface for objects that can be run by a thread.
void acquire(void)
Acquire the mutex and possibly block.
A mutex for mutual exclausion among several threads.
void release(void)
Release the mutex.
int n
Number of negative literals for node type.
virtual void run(void)=0
The function that is executed when the thread starts.
void exec(void)
Infinite loop for execution.
static Run * idle
Idle runners.
static Mutex * m(void)
Mutex for synchronization.
Gecode toplevel namespace