aboutsummaryrefslogtreecommitdiff
path: root/src/core/socket.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-01-16 19:35:51 -0800
committerGarrett D'Amore <garrett@damore.org>2017-01-16 19:35:51 -0800
commit50e1484af0d443b46aa04fd4a8096b157dc160aa (patch)
treeab517217c82e785b0c851c986ee44dfc4a4a65fe /src/core/socket.h
parentac8415c24ffea645105c3859e814843e81c97f8a (diff)
downloadnng-50e1484af0d443b46aa04fd4a8096b157dc160aa.tar.gz
nng-50e1484af0d443b46aa04fd4a8096b157dc160aa.tar.bz2
nng-50e1484af0d443b46aa04fd4a8096b157dc160aa.zip
Recv/Send event plumbing implemented (msgqueue and up).
This change provides for a private callback in the message queues, which can be used to notify the socket, and which than arranges for the appropriate event thread to run. Upper layer hooks to access this still need to be written.
Diffstat (limited to 'src/core/socket.h')
-rw-r--r--src/core/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/socket.h b/src/core/socket.h
index d8b37252..424b1321 100644
--- a/src/core/socket.h
+++ b/src/core/socket.h
@@ -44,7 +44,7 @@ struct nng_socket {
nni_list s_reaps; // pipes to reap
nni_thr s_reaper;
- nni_thr s_notify_thr;
+ nni_thr s_notifier;
nni_thr s_worker_thr[NNI_MAXWORKERS];
int s_ep_pend; // EP dial/listen in progress