Use real-time event interrupt to communicate suspend in timely manner. Use conditional_variable to implement suspend wait and resume trigger. Ignore real-time event 36 in .gdbinit which is used to signal suspend. Test suspending threads.
9 lines
254 B
Plaintext
9 lines
254 B
Plaintext
# Ignore HighResolutionTimer custom event
|
|
handle SIG34 nostop noprint
|
|
# Ignore PosixTimer custom event
|
|
handle SIG35 nostop noprint
|
|
# Ignore PosixThread exit event
|
|
handle SIG32 nostop noprint
|
|
# Ignore PosixThread suspend event
|
|
handle SIG36 nostop noprint
|