aboutsummaryrefslogtreecommitdiff
path: root/std/event/rwlock.zig
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-08-02 17:04:17 -0400
committerAndrew Kelley <superjoe30@gmail.com>2018-08-02 17:04:17 -0400
commit821805aa92898cfdb770b87ac916e45e428621b8 (patch)
tree9fc4468728398b92c5d3c4bdf62fd57434abf9ee /std/event/rwlock.zig
parente3ae2cfb5243e7255bf4dbcc8a9b7e77a31e9d45 (diff)
downloadzig-821805aa92898cfdb770b87ac916e45e428621b8.tar.gz
zig-821805aa92898cfdb770b87ac916e45e428621b8.zip
WIP: Channel.getOrNull
Diffstat (limited to 'std/event/rwlock.zig')
-rw-r--r--std/event/rwlock.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/std/event/rwlock.zig b/std/event/rwlock.zig
index 07b7340fca..cbcdff06af 100644
--- a/std/event/rwlock.zig
+++ b/std/event/rwlock.zig
@@ -101,6 +101,7 @@ pub const RwLock = struct {
// TODO explicitly put this memory in the coroutine frame #1194
var my_tick_node = Loop.NextTickNode{
.data = handle,
+ .prev = undefined,
.next = undefined,
};
@@ -133,6 +134,7 @@ pub const RwLock = struct {
// TODO explicitly put this memory in the coroutine frame #1194
var my_tick_node = Loop.NextTickNode{
.data = handle,
+ .prev = undefined,
.next = undefined,
};