diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-04-19 09:18:16 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-04-19 09:18:16 +0300 |
commit | fcac9e841040812f227ecc3f10d4a970b9e174fd (patch) | |
tree | badaadd59d3e6b53f367060bb0a75091753f7999 /source/blender/blenlib/intern/BLI_linklist_lockfree.c | |
parent | 9f7f6d55404defb1a19b174d237b6e6de85271a2 (diff) |
Cleanup: style
Diffstat (limited to 'source/blender/blenlib/intern/BLI_linklist_lockfree.c')
-rw-r--r-- | source/blender/blenlib/intern/BLI_linklist_lockfree.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/intern/BLI_linklist_lockfree.c b/source/blender/blenlib/intern/BLI_linklist_lockfree.c index c004ddb6b66..ef93ce3619f 100644 --- a/source/blender/blenlib/intern/BLI_linklist_lockfree.c +++ b/source/blender/blenlib/intern/BLI_linklist_lockfree.c @@ -77,12 +77,12 @@ void BLI_linklist_lockfree_insert(LockfreeLinkList *list, do { tail_node = list->tail; keep_working = - (atomic_cas_ptr((void**)&tail_node->next, NULL, node) != NULL); + (atomic_cas_ptr((void **)&tail_node->next, NULL, node) != NULL); if (keep_working) { - atomic_cas_ptr((void**)&list->tail, tail_node, tail_node->next); + atomic_cas_ptr((void **)&list->tail, tail_node, tail_node->next); } } while (keep_working); - atomic_cas_ptr((void**)&list->tail, tail_node, node); + atomic_cas_ptr((void **)&list->tail, tail_node, node); } LockfreeLinkNode *BLI_linklist_lockfree_begin(LockfreeLinkList *list) |