mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
Improve thread aborting mechanism (#10490)
Call pseudo-virtual operator=(thread_state) of thread context.
This commit is contained in:
parent
58847fa2ca
commit
0aed00a758
7 changed files with 31 additions and 44 deletions
|
|
@ -139,6 +139,7 @@ public:
|
|||
u32* get_pc2(); // Last PC before stepping for the debugger (may be null)
|
||||
|
||||
void notify();
|
||||
cpu_thread& operator=(thread_state);
|
||||
|
||||
public:
|
||||
// Thread stats for external observation
|
||||
|
|
@ -263,9 +264,6 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
// Stop all threads with cpu_flag::exit
|
||||
static void stop_all() noexcept;
|
||||
|
||||
// Cleanup thread counting information
|
||||
static void cleanup() noexcept;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue