Example #1
0
 inline bool has_work(void) const
 {
    return !moving.empty() || !stati.empty();
 }
Example #2
0
 virtual void add_to_queue(thread_intrusive_node *node)
 {
    queue_nodes.push_tail(node);
 }
Example #3
0
 virtual bool has_work(void) const { return !queue_nodes.empty(); }
Example #4
0
 virtual bool has_work(void) const { return !queue_nodes.empty() || !buffer.empty() || !stolen_nodes_buffer.empty(); }