mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 05:21:25 +12:00
Implement thread_ctrl::wait_until()
This commit is contained in:
parent
b2877365de
commit
1bd4565186
6 changed files with 47 additions and 11 deletions
|
@ -276,6 +276,9 @@ public:
|
|||
// Wait once with timeout. Infinite value is -1.
|
||||
static void wait_for(u64 usec, bool alert = true);
|
||||
|
||||
// Wait once with time point, add_time is added to the time point.
|
||||
static void wait_until(u64* wait_time, u64 add_time = 0, u64 min_wait = 0, bool update_to_current_time = true);
|
||||
|
||||
// Waiting with accurate timeout
|
||||
static void wait_for_accurate(u64 usec);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue