Changes in uspace/lib/c/generic/thread.c [b7fd2a0:582a0b8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/thread.c
rb7fd2a0 r582a0b8 105 105 * @return Zero on success or a code from @ref errno.h on failure. 106 106 */ 107 errno_t thread_create(void (* function)(void *), void *arg, const char *name,107 int 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 errno_t rc = (errno_t)__SYSCALL4(SYS_THREAD_CREATE, (sysarg_t) uarg,134 int rc = __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 errno_t thread_join(thread_id_t thread)180 int thread_join(thread_id_t thread) 181 181 { 182 182 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.