aboutsummaryrefslogtreecommitdiff
path: root/src/platform/posix/posix_impl.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-03-29 17:05:08 -0700
committerGarrett D'Amore <garrett@damore.org>2017-03-29 17:05:08 -0700
commit86eaf052cc535658783dd5c3d5925f58fd70f983 (patch)
treee7675f617b749a5a4c5aeb8ca00e0b9be6f84e2a /src/platform/posix/posix_impl.h
parent84990c6ecb35ef322b74b8cc9e74ad5964b66ee5 (diff)
downloadnng-86eaf052cc535658783dd5c3d5925f58fd70f983.tar.gz
nng-86eaf052cc535658783dd5c3d5925f58fd70f983.tar.bz2
nng-86eaf052cc535658783dd5c3d5925f58fd70f983.zip
IPC send/recv works asynchronously for POSIX.
As with TCP, we're still using threads under the hood. But this completes the send/recv logic conversion for POSIX to our AIO framework, and hence represents a substantial milestone towards full asyncronous operation. We still need to do accept/connect operations asynchronously, then making. Windows overlapped IO work properly. After that, poll/epoll/kqueue, etc.
Diffstat (limited to 'src/platform/posix/posix_impl.h')
-rw-r--r--src/platform/posix/posix_impl.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/platform/posix/posix_impl.h b/src/platform/posix/posix_impl.h
index 5da18323..dea09fa1 100644
--- a/src/platform/posix/posix_impl.h
+++ b/src/platform/posix/posix_impl.h
@@ -35,15 +35,6 @@ extern int nni_plat_errno(int);
#endif
-
-#ifdef PLATFORM_POSIX_IPC
-struct nni_plat_ipcsock {
- int fd;
- int devnull; // used for shutting down blocking accept()
- char * unlink; // path to unlink at termination
-};
-#endif
-
// Define types that this platform uses.
#ifdef PLATFORM_POSIX_THREAD