From 382b4cff3abd5ccb282ba420ef1f7c7d171ec91a Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 4 Jan 2020 10:24:05 -0800 Subject: fixes #1105 pollable can be inlined, and use atomics This also introduces an nni_atomic_cas64 to help with lock-free designs. Some mechanical renaming was done in some of the protocols for spelling. --- src/protocol/reqrep0/rep_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/protocol/reqrep0/rep_test.c') diff --git a/src/protocol/reqrep0/rep_test.c b/src/protocol/reqrep0/rep_test.c index 5fe9cb17..879d6ae4 100644 --- a/src/protocol/reqrep0/rep_test.c +++ b/src/protocol/reqrep0/rep_test.c @@ -74,7 +74,7 @@ test_rep_poll_writeable(void) // Still not writable. TEST_CHECK(testutil_pollfd(fd) == false); - // If we get a job, *then* we become writeable + // If we get a job, *then* we become writable TEST_NNG_SEND_STR(req, "abc"); TEST_NNG_RECV_STR(rep, "abc"); TEST_CHECK(testutil_pollfd(fd) == true); -- cgit v1.2.3-70-g09d2