Commit graph

8 commits

Author SHA1 Message Date
Janis 9e3fa2cdb0 u32,u64,u16 conversion functions, sync queue, random utilities
- `NextIf` iterator trait that yields the next element iff some predicate holds
- `u64_from_u32s`, `u32s_from_u64`, `u32_from_u16s`, `u16s_from_u32` functions
- moved `can_transmute` to `mem` module, added `is_same_size` and `is_aligned`
functions
- `copy_from` function for `TaggedAtomicPtr`
- attempt at a sync queue?
- `is_whitespace` function
2025-08-06 22:51:27 +02:00
Janis b22254cb32 comments 2025-07-06 15:04:58 +02:00
Janis 568d14aa9c sync channel inspired by chili 2025-07-06 14:26:51 +02:00
Janis 5a3b6447f3 slight refactor of Lock 2025-07-06 14:26:39 +02:00
Janis 4c70dbfc71 Parker: park with callback before waiting 2025-07-05 14:21:31 +02:00
Janis eee2f8995a Thread parker 2025-07-04 18:37:41 +02:00
Janis 4f1e4b1672 small fixes, std implies alloc, dropguarded wrapper with dropguard 2025-07-03 16:50:20 +02:00
Janis f23f815708 simple atomic lock 2025-07-02 22:37:56 +02:00