Merge pull request #3758 from sonoware/fix-set-cpu-affinity

Fix set cpu affinity
This commit is contained in:
Simon Giesecke 2019-12-13 15:03:06 +01:00 committed by GitHub
commit 3e7995f7f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 1 deletions

13
RELICENSE/sonoware.md Normal file
View File

@ -0,0 +1,13 @@
# Permission to Relicense under MPLv2
This is a statement by sonoware GmbH that grants permission to relicense its
copyrights in the libzmq C++ library (ZeroMQ) under the Mozilla Public License
v2 (MPLv2).
A portion of the commits made by the Github handle "sonoware", with commit author
"Stephan Senkbeil" are copyright of sonoware GmbH.
This document hereby grants the libzmq project team to relicense libzmq, including
all past, present and future contributions of the authors listed above.
Stephan Senkbeil <stephan.senkbeil@sonoware.de>
2019/12/13

View File

@ -273,7 +273,7 @@ int main(int argc, char *argv [])
return 0;
}
"
ZMQ_HAVE_PTHREAD_SETAFFINITY)
ZMQ_HAVE_PTHREAD_SET_AFFINITY)
set(CMAKE_REQUIRED_FLAGS ${SAVE_CMAKE_REQUIRED_FLAGS})
endmacro()

View File

@ -48,6 +48,7 @@
#cmakedefine ZMQ_HAVE_PTHREAD_SETNAME_2
#cmakedefine ZMQ_HAVE_PTHREAD_SETNAME_3
#cmakedefine ZMQ_HAVE_PTHREAD_SET_NAME
#cmakedefine ZMQ_HAVE_PTHREAD_SET_AFFINITY
#cmakedefine HAVE_ACCEPT4
#cmakedefine HAVE_STRNLEN