aboutsummaryrefslogtreecommitdiff
path: root/src/common/polyfill_thread.h
Commit message (Collapse)AuthorAgeFilesLines
* [common] use libc++ provided jthread instead of in-house one (which ↵lizzie2025-10-011-348/+3
| | | | | | | | | | | | | | deadlocks on FBSD 14) (#351) Needs test on our CI targets to see I didn't miss anything. Worried about android. Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/351 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Reviewed-by: MaranBr <maranbr@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* common/polyfill_thread: use std::forward where appropriate, qualify ↵Valeri Ochinski2023-10-131-10/+11
| | | | std::move calls
* polyfill_thread: ensure mutex was locked before signaling stopLiam2023-09-021-7/+13
|
* Move to Clang Format 15Levi Behunin2023-01-291-2/+2
| | | | | | Depends on https://github.com/yuzu-emu/build-environments/pull/69 clang-15 primary run
* polyfill_thread: satisfy execution ordering requirements of stop_callbackLiam2023-01-271-37/+46
|
* polyfill_thread: Implement StoppableTimedWaitMorph2023-01-251-0/+36
| | | | | | | StoppableTimedWait allows for a timed wait to be stopped immediately after a stop is requested. This is useful in cases where long duration thread sleeps are needed and allows for immediate joining of waiting threads after a stop is requested. Co-Authored-By: liamwhite <liamwhite@users.noreply.github.com>
* general: fix compile for Apple ClangLiam2022-11-221-0/+323