mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-14 02:57:47 +01:00
Merge pull request #3155 from pijyoi/wepoll_missing_files
wepoll integration fixes
This commit is contained in:
commit
aee5fc2560
@ -259,7 +259,8 @@ src_libzmq_la_SOURCES = \
|
|||||||
|
|
||||||
if USE_WEPOLL
|
if USE_WEPOLL
|
||||||
src_libzmq_la_SOURCES += \
|
src_libzmq_la_SOURCES += \
|
||||||
external/wepoll/wepoll.c
|
external/wepoll/wepoll.c \
|
||||||
|
external/wepoll/wepoll.h
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if USE_TWEETNACL
|
if USE_TWEETNACL
|
||||||
@ -974,6 +975,9 @@ endif
|
|||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
external/unity/license.txt \
|
external/unity/license.txt \
|
||||||
external/unity/version.txt \
|
external/unity/version.txt \
|
||||||
|
external/wepoll/license.txt \
|
||||||
|
external/wepoll/version.txt \
|
||||||
|
external/wepoll/README.md \
|
||||||
CMakeLists.txt \
|
CMakeLists.txt \
|
||||||
autogen.sh \
|
autogen.sh \
|
||||||
version.sh \
|
version.sh \
|
||||||
|
@ -54,7 +54,7 @@ const zmq::epoll_t::epoll_fd_t zmq::epoll_t::epoll_retired_fd =
|
|||||||
zmq::epoll_t::epoll_t (const zmq::thread_ctx_t &ctx_) :
|
zmq::epoll_t::epoll_t (const zmq::thread_ctx_t &ctx_) :
|
||||||
worker_poller_base_t (ctx_)
|
worker_poller_base_t (ctx_)
|
||||||
{
|
{
|
||||||
#ifdef ZMQ_USE_EPOLL_CLOEXEC
|
#ifdef ZMQ_IOTHREAD_POLLER_USE_EPOLL_CLOEXEC
|
||||||
// Setting this option result in sane behaviour when exec() functions
|
// Setting this option result in sane behaviour when exec() functions
|
||||||
// are used. Old sockets are closed and don't block TCP ports, avoid
|
// are used. Old sockets are closed and don't block TCP ports, avoid
|
||||||
// leaks, etc.
|
// leaks, etc.
|
||||||
|
Loading…
Reference in New Issue
Block a user