Changeset f4cb6c5f in mainline
- 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:
- 25f6bddb
- Parents:
- 45c8eea
- git-author:
- Jakub Jermar <jakub@…> (2018-11-11 10:26:12)
- git-committer:
- Jakub Jermar <jakub@…> (2018-11-11 15:47:39)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/private/futex.h
r45c8eea rf4cb6c5f 57 57 static inline errno_t futex_destroy(futex_t *futex) 58 58 { 59 if (futex->whandle) 60 return __SYSCALL1(SYS_WAITQ_DESTROY, (sysarg_t) futex->whandle); 59 if (futex->whandle) { 60 errno_t rc; 61 rc = __SYSCALL1(SYS_WAITQ_DESTROY, (sysarg_t) futex->whandle); 62 futex->whandle = CAP_NIL; 63 return rc; 64 } 61 65 return EOK; 62 66 }
Note:
See TracChangeset
for help on using the changeset viewer.