Commit 4384994
fix: reorder impl_facade! to transition state before logging, revert do_schedule redirect
Root cause fix: co.syscall(Executing) is now called BEFORE info!("enter syscall")
in both impl_facade! and WriteSyscallFacade. This triggers on_state_changed which
removes MonitorListener's NOTIFY_NODE before slow logging, preventing SIGURG from
firing while the coroutine is still in Running state.
Reverted the do_schedule Syscall(Executing) → ready queue redirect in scheduler.rs
since it's no longer needed — the MonitorListener design correctly prevents signals
to Syscall-state coroutines when the NOTIFY_NODE is removed before logging.
Agent-Logs-Url: https://github.com/acl-dev/open-coroutine/sessions/79faeb2b-0a58-4973-8277-f50a34bcb60b
Co-authored-by: loongs-zhang <38336731+loongs-zhang@users.noreply.github.com>1 parent ca70cd7 commit 4384994
3 files changed
Lines changed: 17 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
325 | 320 | | |
326 | 321 | | |
327 | 322 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
130 | 132 | | |
131 | | - | |
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
| |||
137 | 138 | | |
138 | 139 | | |
139 | 140 | | |
| 141 | + | |
140 | 142 | | |
141 | 143 | | |
142 | 144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
| |||
58 | 57 | | |
59 | 58 | | |
60 | 59 | | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
0 commit comments