Changeset 1871118 in mainline for kernel/generic/src/main/uinit.c
- Timestamp:
- 2023-02-10T22:59:11Z (2 years ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 11d2c983
- Parents:
- daadfa6
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2023-02-10 22:53:12)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2023-02-10 22:59:11)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/main/uinit.c
rdaadfa6 r1871118 56 56 void uinit(void *arg) 57 57 { 58 /*59 * So far, we don't have a use for joining userspace threads so we60 * immediately detach each uinit thread. If joining of userspace threads61 * is required, some userspace API based on the kernel mechanism will62 * have to be implemented. Moreover, garbage collecting of threads that63 * didn't detach themselves and nobody else joined them will have to be64 * deployed for the event of forceful task termination.65 */66 thread_detach(THREAD);67 68 58 #ifdef CONFIG_UDEBUG 69 59 udebug_stoppable_end();
Note:
See TracChangeset
for help on using the changeset viewer.