Changeset 0f4f1b2 in mainline for kernel/generic/src/proc/thread.c
- Timestamp:
- 2024-01-15T17:10:27Z (18 months ago)
- Branches:
- master
- Children:
- e82879c
- Parents:
- a064d4f
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2024-01-15 16:37:22)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2024-01-15 17:10:27)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/thread.c
ra064d4f r0f4f1b2 234 234 } 235 235 236 /** Start a thread that wasn't started yet since it was created. 237 * 238 * @param thread A reference to the newly created thread. 239 */ 240 void thread_start(thread_t *thread) 241 { 242 assert(thread->state == Entering); 243 thread_ready(thread_ref(thread)); 244 } 245 236 246 /** Make thread ready 237 247 * … … 696 706 errno_t thread_join_timeout(thread_t *thread, uint32_t usec, unsigned int flags) 697 707 { 708 assert(thread != NULL); 709 698 710 if (thread == THREAD) 699 711 return EINVAL; … … 712 724 713 725 return rc; 726 } 727 728 void thread_detach(thread_t *thread) 729 { 730 thread_put(thread); 714 731 } 715 732
Note:
See TracChangeset
for help on using the changeset viewer.