Commit 9f29e05
committed
Debug: Add diagnostic output to mutex test
The mutex test hangs immediately after enabling preemptive scheduling,
with only 'S' printed. Add diagnostic markers at:
- Task entry points (task_a, task_b, monitor_task)
- Before enabling preemptive scheduling
This will help identify if:
1. Tasks never start executing (scheduler issue)
2. Tasks start but hang on first operation (semaphore/sync issue)
3. Preemptive scheduler never activates (app_main return issue)
Temporary diagnostic commit to identify root cause of complete hang.1 parent fc1b43f commit 9f29e05
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| 74 | + | |
73 | 75 | | |
74 | 76 | | |
75 | 77 | | |
| |||
130 | 132 | | |
131 | 133 | | |
132 | 134 | | |
| 135 | + | |
133 | 136 | | |
134 | 137 | | |
135 | 138 | | |
| |||
220 | 223 | | |
221 | 224 | | |
222 | 225 | | |
| 226 | + | |
223 | 227 | | |
224 | 228 | | |
0 commit comments