Changeset 45c8eea in mainline for uspace/lib/c/generic/thread/mpsc.c
- Timestamp:
- 2018-11-11T15:47:39Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f4cb6c5f
- Parents:
- 269bc459
- git-author:
- Jakub Jermar <jakub@…> (2018-11-10 17:49:44)
- git-committer:
- Jakub Jermar <jakub@…> (2018-11-11 15:47:39)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/thread/mpsc.c
r269bc459 r45c8eea 80 80 } 81 81 82 if (fibril_rmutex_initialize(&q->t_lock) != EOK) { 83 free(q); 84 free(n); 85 free(c); 86 return NULL; 87 } 88 82 89 q->elem_size = elem_size; 83 fibril_rmutex_initialize(&q->t_lock);84 90 q->head = q->tail = n; 85 91 q->close_node = c;
Note:
See TracChangeset
for help on using the changeset viewer.