runtime: can preempt running G asynchronously by sending sigurg while asyncpreemptoff is set #38531
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
While using
GODEBUG=asyncpreemptoff=1
if you send asigurg
sig to a thread, the scheduler will preempt the running G.then run it with asyncpreemptoff
now use the tid to send the sig
What did you expect to see?
Since we use
asyncpreemptoff=1
i expect the app shouldn't be finished!What did you see instead?
the program prints
Done!
The text was updated successfully, but these errors were encountered: