Changeset 3ce7f082 in mainline for kernel/generic/src/proc/thread.c
- Timestamp:
- 2007-04-06T12:53:07Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- dd655970
- Parents:
- c9d20755
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/thread.c
rc9d20755 r3ce7f082 679 679 } 680 680 681 /** Syscall for getting TID. 682 * 683 * @return Thread ID. 684 */ 685 unative_t sys_thread_get_id(void) 686 { 687 /* 688 * No need to acquire lock on THREAD because tid 689 * remains constant for the lifespan of the thread. 690 */ 691 return THREAD->tid; 692 } 693 681 694 /** @} 682 695 */ 683
Note:
See TracChangeset
for help on using the changeset viewer.