Commit graph

71 commits

Author SHA1 Message Date
Janis 9cc125e558 sdkkkkkkkkk 2025-06-28 16:25:19 +02:00
Janis 2a0372a8a0 always use heartbeat join 2025-06-28 14:07:51 +02:00
Janis 8b4eba5a19 parameterise tree size in join example 2025-06-28 08:56:48 +02:00
Janis a1e1c90f90 tracing-tracy/instrumentation 2025-06-28 01:24:22 +02:00
Janis 5fae03dc06 logically functional 2025-06-27 23:08:27 +02:00
Janis c4b4f9248a new job impl 2025-06-27 12:48:50 +02:00
Janis 3b07565118 thoughts on scope 2025-06-27 12:48:41 +02:00
Janis bdbe207e7e heatbeat module 2025-06-26 21:51:15 +02:00
Janis eb8fd314f5 renamed heartbeatlatch to mutexlatch 2025-06-26 17:26:55 +02:00
Janis c3eb71dbb1 join_many test 2025-06-26 16:23:50 +02:00
Janis 0db285a4a9 Heartbeat as raw ptr instead of arc which costs time to increment every heartbeat 2025-06-25 13:31:12 +02:00
Janis 4742733683 it works.. 2025-06-25 13:13:03 +02:00
Janis 1363f20cfc join example executable 2025-06-24 19:13:47 +02:00
Janis a3b9222ed9 so... 2025-06-24 19:12:27 +02:00
Janis ed4acbfbd7 erm....... 2025-06-24 18:03:23 +02:00
Janis e8a07ce6a5 export into distaff crate 2025-06-24 11:13:17 +02:00
Janis f09d4e05d5 add job count to queue, loop over jobs when woken by heartbeat 2025-06-23 13:54:48 +02:00
Janis bfbcc2868f bench mark bigger size! 2025-06-23 13:46:07 +02:00
Janis edaa32591e clear up some box stuff 2025-06-21 11:13:05 +02:00
Janis 3d32569e2f almost runs thru miri..? 2025-06-21 00:28:18 +02:00
Janis 8b3ecb1455 no spinning when waiting, just exit; repr(c) job 2025-06-20 22:31:03 +02:00
Janis 3eec242097 inline workerthread::current 2025-06-20 22:02:22 +02:00
Janis 3730952cad warnings 2025-06-20 21:41:52 +02:00
Janis 448d2d02b4 moved join methods to workerthread 2025-06-20 15:35:34 +02:00
Janis a2112b9ef5 move join stuff to context, but should be moved to workerthread 2025-06-20 13:03:02 +02:00
Janis f6f8095440 remove with_in/with functions from WorkerThread (replaced by run_in_*) 2025-06-20 12:24:13 +02:00
Janis 940c681222 threadlocal count for join/heatbeat 2025-06-20 12:16:51 +02:00
Janis 9b0cc41834 does stuff, doesn't deadlock, faster than rayon (maybe?), 2025-06-19 18:00:06 +02:00
Janis d611535994 it compiles... 2025-06-19 14:25:15 +02:00
Janis 9f776183c4 tests updated to no more pin innit 2025-06-19 14:24:58 +02:00
Janis 04496aa7e2 cfg-if, idk why? 2025-06-19 14:24:32 +02:00
Janis 0af62712ea idk why but cool nightly features 2025-06-17 14:49:04 +02:00
Janis 1baf870d9c lots
+ removed pin in joblist and jobs
+ running closures in worker functions
2025-06-17 14:47:17 +02:00
Janis dc820fc64a TaggedAtomicPtr to named struct 2025-06-17 14:45:50 +02:00
Janis e590dc4509 proper copy and clone for sendptr 2025-06-17 14:45:22 +02:00
Janis 46504f64f2 latchref and nopref types 2025-06-17 14:44:55 +02:00
Janis 3458a900ee todo: separate workerthread and scope logic, add scope type with lifetime 2025-03-08 12:24:02 +01:00
Janis b069f0cc87 aaaa 2025-02-22 11:58:21 +01:00
Janis 44acdd7873 aligned function pointers 2025-02-21 23:55:05 +01:00
Janis 60942daca5 taggedatomicptr: refactor 2025-02-21 20:36:30 +01:00
Janis bc57d221bc tests and stuff 2025-02-21 20:06:44 +01:00
Janis 8f753108ec drop scope before deallocating 2025-02-21 20:06:29 +01:00
Janis 11514efd30 HeapJob drops Job and Self 2025-02-21 20:05:02 +01:00
Janis c25b62ee3e execute takes nonnull of job, not ref, because harness might free job 2025-02-21 20:04:35 +01:00
Janis cd4c5467ba SendPtr<T>: Send wrapper around NonNull<T> 2025-02-21 20:03:47 +01:00
Janis 52fea2e306 transparent smallbox 2025-02-21 12:29:35 +01:00
Janis 5881f8e26a renamed Value<T> to SmallBox<T> 2025-02-21 12:18:59 +01:00
Janis 2ef2744eca refactoring compare-exchange function 2025-02-21 10:24:22 +01:00
Janis f735348762 cold errors, benchmark updated, unstable features added 2025-02-20 21:51:48 +01:00
Janis 4f9c5c00bb cacheline aligned heartbeat atomics 2025-02-20 21:51:16 +01:00