Thomas Harte
|
a886d945be
|
Write initial, faulty version of SmallCallable.
|
2026-07-26 15:49:16 -04:00 |
|
Thomas Harte
|
5807390f79
|
Remove unused .cpp; add missing #include.
|
2026-07-25 08:18:28 -04:00 |
|
Thomas Harte
|
4ef56aa537
|
Add const.
|
2026-07-25 08:05:25 -04:00 |
|
Thomas Harte
|
70500a512d
|
Support move-based enquing; fix typos.
|
2026-07-25 08:01:02 -04:00 |
|
Thomas Harte
|
54c806c0df
|
Guarantee has_run is initialised to false.
|
2026-07-25 07:58:16 -04:00 |
|
Thomas Harte
|
d2eb788a68
|
Make should_quit_ memory barrier overt.
|
2026-07-25 07:58:01 -04:00 |
|
Thomas Harte
|
51d917c4c2
|
Reduce indentation.
|
2026-07-16 13:38:50 -04:00 |
|
Thomas Harte
|
c9edb93bdd
|
Eliminate ATOMIC_FLAG_INITs; unnecessary since C++20.
|
2026-04-22 21:20:38 -04:00 |
|
Thomas Harte
|
9e5c2c20e3
|
Switch to std::atomic_flag.
|
2026-04-15 10:23:04 -04:00 |
|
Thomas Harte
|
289aff4931
|
Tweak queue semantics.
|
2026-04-14 10:01:58 -04:00 |
|
Thomas Harte
|
92b49afada
|
Ensure atomic access to actions_.
|
2026-02-18 12:53:31 -05:00 |
|
Thomas Harte
|
ed061fa9b3
|
Factor out spin lock, get a bit stricter on PointerSets.
|
2026-02-14 11:14:20 -05:00 |
|
Thomas Harte
|
5b4f303e35
|
Mention memory barrier.
|
2025-11-13 18:02:41 -05:00 |
|
Thomas Harte
|
c9c1bde6e2
|
Switch to spinning on SID thread synchronisation.
|
2025-11-13 17:59:24 -05:00 |
|
Thomas Harte
|
4e86184955
|
Add local hack to ensure good flushing.
|
2025-11-11 14:40:13 -05:00 |
|
Thomas Harte
|
a81309433c
|
Switch to lambda form.
|
2025-11-09 21:09:57 -05:00 |
|
Thomas Harte
|
902f388cb1
|
Enforce perform_automatically, start_immediately; relax Boolean access order.
|
2025-11-09 00:17:39 -05:00 |
|
Thomas Harte
|
1a1e3281e4
|
Avoid overlong line; add consts.
|
2025-10-10 22:27:29 -04:00 |
|
Thomas Harte
|
2c2216afae
|
Further eliminate file-relative includes.
|
2025-02-28 13:18:48 -05:00 |
|
Thomas Harte
|
d3ed485e7a
|
Take another big swing at indentation, some consts.
|
2024-12-01 21:44:14 -05:00 |
|
Thomas Harte
|
7248470950
|
Roll formatting and const tweaks into Inputs.
|
2024-11-30 18:57:56 -05:00 |
|
Thomas Harte
|
a3d37640aa
|
Switch include guards to #pragma once.
|
2024-01-16 23:34:46 -05:00 |
|
Thomas Harte
|
62410a04ef
|
Remove pointless — and damaging — std::move.
|
2023-12-23 21:44:10 -05:00 |
|
Thomas Harte
|
5845ce0a39
|
Ameliorate for race condition.
|
2023-12-04 09:56:06 -05:00 |
|
Thomas Harte
|
1b197d0bb2
|
Resolve crash of machines that require the ROM requester.
|
2022-08-22 17:02:09 -04:00 |
|
Thomas Harte
|
8f2e94a1d8
|
Switch name back to emphasise _async_.
|
2022-07-16 14:41:04 -04:00 |
|
Thomas Harte
|
637161157c
|
Switch to slightly more sensical 'none' type.
|
2022-07-15 16:29:29 -04:00 |
|
Thomas Harte
|
41af76bed8
|
Fix variable name.
|
2022-07-15 15:13:03 -04:00 |
|
Thomas Harte
|
bf03bda314
|
Generalise AsyncTaskQueue, DeferringAsyncTaskQueue and AsyncUpdater into a single template.
|
2022-07-14 16:39:26 -04:00 |
|
Thomas Harte
|
126838e7c7
|
Thanks to std::swap and move semantics, there's no need for indirection here.
|
2022-07-14 15:52:31 -04:00 |
|
Thomas Harte
|
18f01bcd48
|
Switch back to std::list as a kneejerk fix for AsyncTaskQueue.
|
2022-07-13 22:26:59 -04:00 |
|
Thomas Harte
|
79f8cab5e2
|
Attempt to reduce memory allocations.
|
2022-07-13 21:41:04 -04:00 |
|
Thomas Harte
|
92efad4970
|
Switch to std::vector.
|
2022-07-13 21:36:01 -04:00 |
|
Thomas Harte
|
5c3084c37c
|
Fix construction order.
|
2022-07-07 20:09:37 -04:00 |
|
Thomas Harte
|
07ce0f0133
|
Attempt safe shutdown.
|
2022-07-07 16:56:10 -04:00 |
|
Thomas Harte
|
3e2a6ef3f4
|
Hacks up an [unsafe] return to something best-effort-updater-esque.
For profiling, mainly.
|
2022-07-07 16:35:45 -04:00 |
|
Thomas Harte
|
01a309909b
|
Elide actions when running behind.
|
2022-07-07 11:10:54 -04:00 |
|
Thomas Harte
|
7886c2df7a
|
Start experimenting with a more event-based approach to timing.
|
2022-07-07 10:48:42 -04:00 |
|
Thomas Harte
|
7f33a5ca0c
|
Simplify: (i) repetitive type for TaskList; (ii) unnecessary unique_ptr.
|
2022-06-02 17:02:36 -04:00 |
|
Thomas Harte
|
e389dcb912
|
Further simplify syntax.
|
2022-06-02 16:52:03 -04:00 |
|
Thomas Harte
|
9d278d80f1
|
Remove redundant reset.
|
2022-06-02 16:50:59 -04:00 |
|
Thomas Harte
|
e994910ff6
|
Switch to unique_ptr.
|
2022-06-02 16:46:41 -04:00 |
|
Thomas Harte
|
93679f8d48
|
Reduce potential surprise in DeferringAsyncTaskQueue::flush.
|
2022-06-02 12:50:45 -04:00 |
|
Thomas Harte
|
d18a537509
|
Fiddles with the preprocessor to make kiosk mode match other OSes even on macOS.
|
2021-06-13 19:28:05 -04:00 |
|
Thomas Harte
|
495024d6fe
|
Cleans up all redundant lock/unique_guard declarations.
|
2020-06-15 00:24:10 -04:00 |
|
Thomas Harte
|
3729bddb2a
|
Farewell, BestEffortUpdater.
|
2020-05-09 21:48:04 -04:00 |
|
Thomas Harte
|
5caf74b930
|
Corrects typo.
|
2020-02-04 22:24:37 -05:00 |
|
Thomas Harte
|
3aa2c297a2
|
Adds feedback to the best-effort updater; enables the Cocoa port for audio event requests.
|
2020-01-20 17:38:25 -05:00 |
|
Thomas Harte
|
290db67f09
|
Adds a forward route for event flags. Doesn't yet account for extra time expended.
|
2020-01-20 17:09:01 -05:00 |
|
Thomas Harte
|
4de121142b
|
Adds a flags parameter to the BestEffortUpdater delegate.
On the Cocoa side, cuts Swift out of the update loop, as that seems merely to add code.
|
2020-01-20 16:21:53 -05:00 |
|