diff options
| author | billzez <77312308+billzez@users.noreply.github.com> | 2022-02-08 23:35:48 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-08 23:35:48 -0500 |
| commit | 470c8ca48c32d34da06e4741b8f81b6eb0d72fd7 (patch) | |
| tree | 018b8d20d1cf35aeddda23b30f90ee102388e9d7 /lib/std/Thread.zig | |
| parent | 7c1061784b8b126633cfe84f46280f7bf72beffc (diff) | |
| download | zig-470c8ca48c32d34da06e4741b8f81b6eb0d72fd7.tar.gz zig-470c8ca48c32d34da06e4741b8f81b6eb0d72fd7.zip | |
update RwLock to use static initialization (#10838)
Diffstat (limited to 'lib/std/Thread.zig')
| -rw-r--r-- | lib/std/Thread.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/std/Thread.zig b/lib/std/Thread.zig index 182f7ccb6b..1e54053146 100644 --- a/lib/std/Thread.zig +++ b/lib/std/Thread.zig @@ -16,6 +16,7 @@ pub const StaticResetEvent = @import("Thread/StaticResetEvent.zig"); pub const Mutex = @import("Thread/Mutex.zig"); pub const Semaphore = @import("Thread/Semaphore.zig"); pub const Condition = @import("Thread/Condition.zig"); +pub const RwLock = @import("Thread/RwLock.zig"); pub const use_pthreads = target.os.tag != .windows and target.os.tag != .wasi and builtin.link_libc; const is_gnu = target.abi.isGnu(); |
