Changeset dd8d5a7 in mainline for uspace/lib/c/generic/task.c
- Timestamp:
- 2010-12-14T15:44:23Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 228e490
- Parents:
- 6b10dab
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/task.c
r6b10dab rdd8d5a7 47 47 task_id_t task_get_id(void) 48 48 { 49 #ifdef __32_BITS__ 49 50 task_id_t task_id; 50 51 (void) __SYSCALL1(SYS_TASK_GET_ID, (sysarg_t) &task_id); 51 52 52 53 return task_id; 54 #endif /* __32_BITS__ */ 55 56 #ifdef __64_BITS__ 57 return (task_id_t) __SYSCALL0(SYS_TASK_GET_ID); 58 #endif /* __64_BITS__ */ 53 59 } 54 60
Note:
See TracChangeset
for help on using the changeset viewer.