mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
utils: Make get_tsc_freq() inlined and non-blocking
This commit is contained in:
parent
2e8029a45b
commit
c70c08bb07
3 changed files with 27 additions and 9 deletions
|
|
@ -554,7 +554,7 @@ int main(int argc, char** argv)
|
|||
ensure(thread_ctrl::is_main(), "Not main thread");
|
||||
|
||||
// Initialize TSC freq (in case it isn't)
|
||||
static_cast<void>(utils::get_tsc_freq());
|
||||
static_cast<void>(utils::ensure_tsc_freq_init());
|
||||
|
||||
// Initialize thread pool finalizer (on first use)
|
||||
static_cast<void>(named_thread("", [](int) {}));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue