summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8313fa6)
We use this next pointer to check if the worker in in the wait queue or
not. Therefore, we need to initialize it to NULL.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
worker->flags = flags;
urcu_wait_node_init(&worker->wait_node, URCU_WAIT_RUNNING);
worker->own = NULL;
worker->flags = flags;
urcu_wait_node_init(&worker->wait_node, URCU_WAIT_RUNNING);
worker->own = NULL;
+ worker->wait_node.node.next = NULL;