Skip to content
Snippets Groups Projects
Commit 3c26e229 authored by rswindell's avatar rswindell
Browse files

Fixed non-thread-safe build of list_add_node().

parent 1b436de2
No related branches found
No related tags found
No related merge requests found
...@@ -439,8 +439,10 @@ static list_node_t* list_add_node(link_list_t* list, list_node_t* node, list_nod ...@@ -439,8 +439,10 @@ static list_node_t* list_add_node(link_list_t* list, list_node_t* node, list_nod
MUTEX_UNLOCK(list); MUTEX_UNLOCK(list);
#if defined(LINK_LIST_THREADSAFE)
if(list->sem!=NULL) if(list->sem!=NULL)
listSemPost(list); listSemPost(list);
#endif
return(node); return(node);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment