Changeset 5a6cc679 in mainline for uspace/lib/c/generic/thread.c
- Timestamp:
- 2018-01-31T02:21:24Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a0a9cc2
- Parents:
- 132ab5d1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/thread.c
r132ab5d1 r5a6cc679 105 105 * @return Zero on success or a code from @ref errno.h on failure. 106 106 */ 107 int thread_create(void (* function)(void *), void *arg, const char *name,107 errno_t thread_create(void (* function)(void *), void *arg, const char *name, 108 108 thread_id_t *tid) 109 109 { … … 132 132 uarg->uspace_uarg = uarg; 133 133 134 int rc = (int) __SYSCALL4(SYS_THREAD_CREATE, (sysarg_t) uarg,134 errno_t rc = (errno_t) __SYSCALL4(SYS_THREAD_CREATE, (sysarg_t) uarg, 135 135 (sysarg_t) name, (sysarg_t) str_size(name), (sysarg_t) tid); 136 136 … … 178 178 * @return Thread exit status. 179 179 */ 180 int thread_join(thread_id_t thread)180 errno_t thread_join(thread_id_t thread) 181 181 { 182 182 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.