aboutsummaryrefslogtreecommitdiff
path: root/std/event/rwlock.zig
AgeCommit message (Collapse)Author
2019-09-25mv std/ lib/Andrew Kelley
that's all this commit does. further commits will fix cli flags and such. see #2221
2019-08-13avoid the word "coroutine", they're "async functions"Andrew Kelley
2019-08-11all tests passingAndrew Kelley
2019-06-23Merge remote-tracking branch 'origin/master' into copy-elision-3Andrew Kelley
2019-06-23fix some legacy coroutine stuffAndrew Kelley
2019-06-22heap: make one global instance of DirectAllocatorSahnvour
it is now stateless, so the de/init are not necessary anymore
2019-05-26starting to fix the regressionsAndrew Kelley
2019-03-07disable some tests until coroutine rewrite is finishedAndrew Kelley
2019-03-02rename std lib files to new conventionAndrew Kelley
2019-02-08std.debug.assert: remove special case for test buildsAndrew Kelley
Previously, std.debug.assert would `@panic` in test builds, if the assertion failed. Now, it's always `unreachable`. This makes release mode test builds more accurately test the actual code that will be run. However this requires tests to call `std.testing.expect` rather than `std.debug.assert` to make sure output is correct. Here is the explanation of when to use either one, copied from the assert doc comments: Inside a test block, it is best to use the `std.testing` module rather than assert, because assert may not detect a test failure in ReleaseFast and ReleaseSafe mode. Outside of a test block, assert is the correct function to use. closes #1304
2019-02-01introduce --single-threaded build optionAndrew Kelley
closes #1764 This adds another boolean to the test matrix; hopefully it does not inflate the time too much. std.event.Loop does not work with this option yet. See #1908
2018-11-13New Zig formal grammar (#1685)Jimmi Holst Christensen
Reverted #1628 and changed the grammar+parser of the language to not allow certain expr where types are expected
2018-10-15Solve the return type ambiguity (#1628)Jimmi Holst Christensen
Changed container and initializer syntax * <container> { ... } -> <container> . { ... } * <exrp> { ... } -> <expr> . { ...}
2018-10-11Improve time.sleep apiMarc Tiehuis
2018-09-01these all use futex() (inaccurate comments)Shawn Landden
2018-08-03self-hosted: watch files and trigger a rebuildAndrew Kelley
2018-08-02fixups from the mergeAndrew Kelley
2018-08-02WIP: Channel.getOrNullAndrew Kelley
2018-08-01add std.event.RwLock and a few more std changesAndrew Kelley
* 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