Changeset 9a3b469 in mainline for uspace/lib/c/generic/thread.c
- Timestamp:
- 2012-12-04T04:09:08Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d54b303
- Parents:
- 1b7eec9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/thread.c
r1b7eec9 r9a3b469 46 46 #include "private/thread.h" 47 47 48 /** 49 * The number of threads that have been created and initialized since 50 * the start of the program. 51 */ 52 atomic_t _created_thread_cnt = {0}; 53 48 54 /** Main thread function. 49 55 * … … 62 68 63 69 __tcb_set(fibril->tcb); 70 71 atomic_inc(&_created_thread_cnt); 64 72 65 73 uarg->uspace_thread_function(uarg->uspace_thread_arg);
Note:
See TracChangeset
for help on using the changeset viewer.