This website requires JavaScript.
About
Status
₊˚⊹Discord
Explore
Register
Sign in
Reference in a new issue
Blame
Copy permalink
Reference in a new issue
Copy permalink
DKB
/
zig
Star
0
Fork
You've already forked zig
0
mirror of
https://codeberg.org/ziglang/zig
synced
2026-11-18 07:05:05 +00:00
Code
Issues
Releases
Packages
Activity
0.3.0
zig
/
std
/
event.zig
23 lines
908 B
Raw
Permalink
Normal View
History
introduce std.event.fs for async file system functions only works on linux so far
2018-07-25 23:16:13 -04:00
organize std.event into directories
2018-07-09 22:22:44 -04:00
WIP: Channel.getOrNull
2018-08-02 17:04:17 -04:00
add std.event.RwLock and a few more std changes * add std.event.RwLock and std.event.RwLocked * std.debug.warn does its printing locked * add std.Mutex, however it's currently implemented as a spinlock * rename std.event.Group.cancelAll to std.event.Group.deinit and change the docs and assumptions. * add std.HashMap.clone
2018-08-01 16:26:37 -04:00
organize std.event into directories
2018-07-09 22:22:44 -04:00
introduce std.event.fs for async file system functions only works on linux so far
2018-07-25 23:16:13 -04:00
organize std.event into directories
2018-07-09 22:22:44 -04:00
introduce std.event.fs for async file system functions only works on linux so far
2018-07-25 23:16:13 -04:00
organize std.event into directories
2018-07-09 22:22:44 -04:00
add std.event.RwLock and a few more std changes * add std.event.RwLock and std.event.RwLocked * std.debug.warn does its printing locked * add std.Mutex, however it's currently implemented as a spinlock * rename std.event.Group.cancelAll to std.event.Group.deinit and change the docs and assumptions. * add std.HashMap.clone
2018-08-01 16:26:37 -04:00
organize std.event into directories
2018-07-09 22:22:44 -04:00
M:N threading * add std.atomic.QueueMpsc.isEmpty * make std.debug.global_allocator thread-safe * std.event.Loop: now you have to choose between - initSingleThreaded - initMultiThreaded * std.event.Loop multiplexes coroutines onto kernel threads * Remove std.event.Loop.stop. Instead the event loop run() function returns once there are no pending coroutines. * fix crash in ir.cpp for calling methods under some conditions * small progress self-hosted compiler, analyzing top level declarations * Introduce std.event.Lock for synchronizing coroutines * introduce std.event.Locked(T) for data that only 1 coroutine should modify at once. * make the self hosted compiler use multi threaded event loop * make std.heap.DirectAllocator thread-safe See #174 TODO: * call sched_getaffinity instead of hard coding thread pool size 4 * support for Windows and MacOS * #1194 * #1197
2018-07-05 15:09:02 -04:00