Changeset abf6c01 in mainline for kernel/generic/src/main/kinit.c
- Timestamp:
- 2018-11-09T22:03:24Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 436a0a5
- Parents:
- ba9a150
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-11-08 17:00:46)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-11-09 22:03:24)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/main/kinit.c
rba9a150 rabf6c01 120 120 thread = thread_create(kmp, NULL, TASK, 121 121 THREAD_FLAG_UNCOUNTED, "kmp"); 122 if (thread != NULL) { 123 thread_wire(thread, &cpus[0]); 124 thread_ready(thread); 125 } else 122 if (!thread) 126 123 panic("Unable to create kmp thread."); 127 124 125 thread_wire(thread, &cpus[0]); 126 thread_ready(thread); 128 127 thread_join(thread); 129 128 thread_detach(thread);
Note:
See TracChangeset
for help on using the changeset viewer.