Commit Graph

1061 Commits

Author SHA1 Message Date
439cc8d860 ability to set job as unyielding 2025-07-11 13:41:43 -05:00
047f5c8359 separate fiber free lists by job pool 2025-07-11 12:48:35 -05:00
e13aca535a 8 & 16 bit atomics 2025-07-11 12:34:05 -05:00
ff8056b214 remove atomic signedness 2025-07-11 12:14:09 -05:00
c1f405c6e4 allow pools to push jobs to any other pool 2025-07-11 12:07:18 -05:00
25e20ea3bd sys job pools 2025-07-11 01:05:07 -05:00
13e1860656 merge addr & time wake logic into function call 2025-07-10 23:16:51 -05:00
7e81231639 double buffer sys events and pass into present job 2025-07-10 21:59:53 -05:00
66bae61b1a schedule user update from sys scheduler 2025-07-10 18:32:26 -05:00
b270737bec move latency waitable to end of present 2025-07-10 15:06:31 -05:00
63a8dc7595 use ticket mutex for wait bins 2025-07-10 14:08:41 -05:00
e3e0a98456 wait on frame latency object 2025-07-10 13:55:10 -05:00
c548eacd35 sys wake count 2025-07-10 13:32:49 -05:00
905151abe9 replace null, true, false with integers in code 2025-07-10 13:11:36 -05:00
a1e062f362 formatting 2025-07-10 12:50:44 -05:00
6838c7ac02 add padded atomic types 2025-07-10 12:47:12 -05:00
915a9272e4 align & pad snc structs to cache line 2025-07-10 11:43:24 -05:00
f1f54fe519 more sleep yield testing 2025-07-10 11:16:15 -05:00
1dd5bf90d0 yield sleep testing 2025-07-09 22:04:11 -05:00
cc51fe29a7 add scheduler thread for waking yields with timeout 2025-07-09 20:42:48 -05:00
e878a2c96f formatting 2025-07-09 14:43:51 -05:00
4dab156b5f atomically load wait address value 2025-07-09 14:16:37 -05:00
166db8575b consolidate yielder & fiber_ctx into fiber struct 2025-07-09 13:39:02 -05:00
5dd56dea5c formatting 2025-07-09 11:38:22 -05:00
0a3e9adcbd reset mutex spin count after wait 2025-07-07 02:55:56 -05:00
e720e7e2af worker sleeping 2025-07-06 22:47:08 -05:00
2b08223472 add SYS_PRIORITY_INHERIT 2025-07-06 18:06:25 -05:00
a397458c72 mutex spinning 2025-07-06 17:46:10 -05:00
994ed1e1e1 use SI units for size macros 2025-07-06 16:25:39 -05:00
69a8a7aa9a move synchronization primitives out of sys layer 2025-07-06 16:20:07 -05:00
8c080477a6 snc funcs to temporarily replace old sys mutex & cv 2025-07-06 15:32:05 -05:00
32b82f4417 locks wip 2025-07-06 15:21:33 -05:00
a9bcab1b78 allow color & values for profiling 2025-07-06 14:37:17 -05:00
60613815d7 wrap tracy fiber funcs in NO_INLINE 2025-07-06 13:15:16 -05:00
40dcdb40dc fiber wait wip 2025-07-05 22:40:39 -05:00
d47b951b82 wait / wake wip 2025-07-05 21:01:30 -05:00
ba3a2454db blockable counter waiters 2025-07-05 18:31:10 -05:00
402f8a12c9 waiter testing 2025-07-05 18:04:13 -05:00
5e99224b28 allocate counters in sys layer 2025-07-05 16:18:07 -05:00
ca5c1d6ee3 rename 'runner' -> 'worker' 2025-07-05 15:43:18 -05:00
55187aed97 remove old job system 2025-07-05 14:44:00 -05:00
e2a0d38e70 fiber testing 2025-07-05 13:45:10 -05:00
53f38271e6 delete dx11 backend 2025-07-03 23:36:10 -05:00
aca087104a formatting 2025-07-03 20:14:58 -05:00
514c2a6496 fibers wip 2025-07-03 19:53:59 -05:00
ca94dbec3e launch profiler capture program at start 2025-07-03 14:32:21 -05:00
fdf35c698d use compiler static assert when possible 2025-07-03 13:02:16 -05:00
05ce4f32a1 remove scratch.h 2025-07-03 12:29:09 -05:00
6841ff9784 remove thread local storage 2025-07-03 12:20:17 -05:00
fe40690871 fibers test wip 2025-07-02 14:56:49 -05:00