[Threading] Android thread naming and other cleanup

This commit is contained in:
Triang3l
2020-11-22 20:03:45 +03:00
parent aca23c08cf
commit 63ff758049
8 changed files with 80 additions and 42 deletions

View File

@@ -26,10 +26,6 @@ uint32_t current_thread_id() {
void set_name(const std::string& name) { pthread_setname_np(name.c_str()); }
void set_name(std::thread::native_handle_type handle, const std::string& name) {
// ?
}
void MaybeYield() { pthread_yield_np(); }
void Sleep(std::chrono::microseconds duration) {