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 fix self hosted compiler on windows 2018-01-03 04:55:49 -05:00
errmsg.zig remove std.mem.Allocator.construct and other fixups 2018-06-20 17:33:29 -04:00
introspect.zig std.os.path.dirname: return null instead of empty slice 2018-06-14 16:15:32 -04:00
ir.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
llvm.zig breaking syntax change: ??x to x.? (#1095) 2018-06-09 23:42:14 -04:00
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 use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
target.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00