0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/std
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
History 2018-07-07 00:32:19 -04:00
..
atomic M:N threading 2018-07-07 00:32:19 -04:00
c disallow unknown-length pointer to opaque 2018-06-05 18:03:21 -04:00
crypto remove integer and float casting syntax 2018-06-17 02:57:07 -04:00
debug M:N threading 2018-07-07 00:32:19 -04:00
fmt add event loop Channel abstraction 2018-07-02 14:38:11 -04:00
hash remove integer and float casting syntax 2018-06-17 02:57:07 -04:00
math test std.math f16 sqrt support 2018-06-30 01:58:17 +02:00
os M:N threading 2018-07-07 00:32:19 -04:00
rand Fix up some std.rand syntax #1161 (#1162) 2018-06-27 12:30:15 -04:00
special Clean up outstanding compiler_rt todos 2018-07-03 13:22:12 +12:00
zig std.zig.ast: fix incorrect impl of FnProto.firstToken 2018-06-25 11:54:10 -04:00
array_list.zig remove integer and float casting syntax 2018-06-17 02:57:07 -04:00
base64.zig remove integer and float casting syntax 2018-06-17 02:57:07 -04:00
buf_map.zig breaking syntax change: orelse keyword instead of ?? (#1096) 2018-06-10 01:13:51 -04:00
buf_set.zig breaking syntax change: orelse keyword instead of ?? (#1096) 2018-06-10 01:13:51 -04:00
buffer.zig Fix error handling in Buffer::fromOwnedSlice (#1082) 2018-06-08 19:24:48 -04:00
build.zig std: update stdlib to match updated allocator create signature; ref #733 2018-06-21 00:40:21 +09:00
cstr.zig standard library fixes 2018-06-18 17:43:01 -04:00
dwarf.zig run zig fmt on some of the codebase 2018-05-26 23:00:29 -04:00
dynamic_library.zig update std.DynLib to use @intCast 2018-06-18 00:52:55 -04:00
elf.zig add basic std lib code for loading dynamic libraries 2018-06-16 17:01:23 -04:00
empty.zig recognize ar program and pass --gc-sections to ld 2016-05-11 14:44:10 -07:00
event.zig M:N threading 2018-07-07 00:32:19 -04:00
hash_map.zig breaking syntax change: ??x to x.? (#1095) 2018-06-09 23:42:14 -04:00
heap.zig M:N threading 2018-07-07 00:32:19 -04:00
index.zig add basic std lib code for loading dynamic libraries 2018-06-16 17:01:23 -04:00
io.zig std: update stdlib to match updated allocator create signature; ref #733 2018-06-21 00:40:21 +09:00
io_test.zig run zig fmt on the codebase 2018-05-30 16:09:11 -04:00
json.zig remove enum to/from int casting syntax; add @enumToInt/@intToEnum 2018-06-19 03:50:38 -04:00
json_test.zig Fix json parser comma after empty object case 2018-06-08 17:43:13 +12:00
linked_list.zig remove std.mem.Allocator.construct and other fixups 2018-06-20 17:33:29 -04:00
macho.zig remove []u8 casting syntax. add @bytesToSlice and @sliceToBytes 2018-06-18 17:25:29 -04:00
mem.zig M:N threading 2018-07-07 00:32:19 -04:00
net.zig remove []u8 casting syntax. add @bytesToSlice and @sliceToBytes 2018-06-18 17:25:29 -04:00
segmented_list.zig remove integer and float casting syntax 2018-06-17 02:57:07 -04:00
sort.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
unicode.zig remove integer and float casting syntax 2018-06-17 02:57:07 -04:00