src/structures/TaskQueue.cpp
/**
      * Push nodes onto the task queue
      */
Push nodes onto the task queue
Push nodes onto the task queue
void BuildTaskQueue::enqueue(NodeView** runnables, const size_t nnodes) {
        acquire_lock();
        for (size_t i = 0; i < nnodes; i++)
            tasks.push(runnables[i]);
        release_lock();
    }
void BuildTaskQueue :: enqueue ( NodeView * * runnables , const size_t nnodes ) { acquire_lock ( ) ; for ( size_t i = 0 ; i < nnodes ; i ++ ) tasks . push ( runnables [ i ] ) ; release_lock ( ) ; }
Push nodes onto the task queue
Push nodes onto the task queue