diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-01-12 21:26:59 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-01-12 21:26:59 -0800 |
| commit | da88419ae8165248621cad26df72a0d91663d50b (patch) | |
| tree | a10598f198797060210f586780a91bd6dd920ab0 /src/platform/posix/posix_impl.h | |
| parent | d615c5e51268a23887e2d29b5828a0447ba5409b (diff) | |
| download | nng-da88419ae8165248621cad26df72a0d91663d50b.tar.gz nng-da88419ae8165248621cad26df72a0d91663d50b.tar.bz2 nng-da88419ae8165248621cad26df72a0d91663d50b.zip | |
Block SIGPIPE. Ewww...
Diffstat (limited to 'src/platform/posix/posix_impl.h')
| -rw-r--r-- | src/platform/posix/posix_impl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/platform/posix/posix_impl.h b/src/platform/posix/posix_impl.h index c155e15c..1ab728c5 100644 --- a/src/platform/posix/posix_impl.h +++ b/src/platform/posix/posix_impl.h @@ -64,7 +64,9 @@ struct nni_plat_mtx { }; struct nni_plat_thr { - pthread_t tid; + pthread_t tid; + void (*func)(void *); + void * arg; }; struct nni_plat_cv { |
