Changeset eebecdc in mainline for kernel/generic/src/proc/task.c
- Timestamp:
- 2025-03-13T18:30:36Z (4 months ago)
- Children:
- e3e53cc
- Parents:
- e494d7b (diff), da54714 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/task.c
re494d7b reebecdc 1 1 /* 2 * Copyright (c) 2025 Jiri Svoboda 2 3 * Copyright (c) 2010 Jakub Jermar 3 * Copyright (c) 2018 Jiri Svoboda4 4 * All rights reserved. 5 5 * … … 104 104 * 105 105 */ 106 void task_done( void)106 void task_done(task_t *cur_task) 107 107 { 108 108 size_t tasks_left; … … 112 112 task_t *task_0 = ipc_box_0->task; 113 113 ipc_box_0 = NULL; 114 114 115 /* 115 116 * The first task is held by kinit(), we need to release it or … … 129 130 task = task_first(); 130 131 while (task != NULL) { 131 if (task != TASK) {132 if (task != cur_task) { 132 133 tasks_left++; 133 134 #ifdef CONFIG_DEBUG
Note:
See TracChangeset
for help on using the changeset viewer.