commit | 47ccd6b84bdf35688fb1516f06db68462bd24585 | [log] [tgz] |
---|---|---|
author | Tom Tromey <tom@tromey.com> | Tue Mar 29 14:36:10 2022 -0600 |
committer | Tom Tromey <tom@tromey.com> | Wed Mar 30 13:39:48 2022 -0600 |
tree | c2fba1dac46a3637842d73a943a7e858c0fb0290 | |
parent | cd1c3a45442e8ef68d062215d508c8104a8e008d [diff] |
Only allow QUIT on the main thread Pedro pointed out that gdb worker threads should not react to quits. While I don't think that the new DWARF reader can call QUIT from a worker thread (and I don't think the existing minsym threading code can either), it seems safest to address this before checking in the new code. This patch arranges for the QUIT macro to only work on the main thread.