aboutsummaryrefslogtreecommitdiff
path: root/spec/race_spec.lua
diff options
context:
space:
mode:
authorAlexander Pickering <alex@cogarr.net>2020-07-29 12:18:10 -0400
committerAlexander Pickering <alex@cogarr.net>2020-07-29 12:18:10 -0400
commit27ece5603fc0cde89183ceb61f915fa64fef1061 (patch)
treed7d3407b21bb6a13bf81f57f71ddf91176760077 /spec/race_spec.lua
parenta7ff1b815987b0c1b3ded5701845e0eb52f0592c (diff)
downloadlua-nng-27ece5603fc0cde89183ceb61f915fa64fef1061.tar.gz
lua-nng-27ece5603fc0cde89183ceb61f915fa64fef1061.tar.bz2
lua-nng-27ece5603fc0cde89183ceb61f915fa64fef1061.zip
Added recv_any()
recv_any() is a function that takes multiple sockets and waits for one or more of them to receive. See the unit test for examples.
Diffstat (limited to 'spec/race_spec.lua')
-rw-r--r--spec/race_spec.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/race_spec.lua b/spec/race_spec.lua
new file mode 100644
index 0000000..732ae3e
--- /dev/null
+++ b/spec/race_spec.lua
@@ -0,0 +1,5 @@
+--[[
+Test for race conditions
+]]
+describe("nng",function()
+end)