zig/src-self-hosted
Andrew Kelley eb326e1553 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-07 00:32:19 -04:00
..
arg.zig clean up self hosted main. delete unsupported commands 2018-06-22 01:54:38 -04:00
c.zig
errmsg.zig remove std.mem.Allocator.construct and other fixups 2018-06-20 17:33:29 -04:00
introspect.zig
ir.zig
llvm.zig
main.zig M:N threading 2018-07-07 00:32:19 -04:00
module.zig M:N threading 2018-07-07 00:32:19 -04:00
scope.zig
target.zig