Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pthread_equal to compare thread ids #3537

Merged
merged 1 commit into from
Jun 11, 2019
Merged

pthread_equal to compare thread ids #3537

merged 1 commit into from
Jun 11, 2019

Conversation

philippeleite
Copy link
Contributor

I am trying to port ZeroMQ to z/OS USS and I faced several problems. One of them is this function "is_current_thread" trying to compare two thread ids with operator "==". I've changed the code to use the official function "pthread_equal" to compare thread ids and now it's working fine.

Permission to Relicense under MPLv2 or any other OSI approved license chosen by the current ZeroMQ BDFL

This is a statement by Philippe Leite that grants permission to
relicense its copyrights in the libzmq C++ library (ZeroMQ) under the
Mozilla Public License v2 (MPLv2) or any other Open Source Initiative
approved license chosen by the current ZeroMQ BDFL (Benevolent
Dictator for Life).

A portion of the commits made by the Github handle "philippeleite", with
commit author "Philippe Leite philippe.leite@gmail.com", are
copyright of Philippe Leite. This document hereby grants the libzmq
project team to relicense libzmq, including all past, present and
future contributions of the author listed above.

Philippe Leite
2019/06/10

I am trying to port ZeroMQ to z/OS USS and I faced several problems. One of them is this function "is_current_thread" trying to compare two thread ids with operator "==". I've changed the code to use the official function "pthread_equal" to compare thread ids and now it's working fine.
@bluca bluca merged commit 1fdb152 into zeromq:master Jun 11, 2019
@bluca
Copy link
Member

bluca commented Jun 11, 2019

Thanks! I'll add the relicense statement to the repository

bluca added a commit to bluca/libzmq that referenced this pull request Jun 11, 2019
bluca added a commit to bluca/libzmq that referenced this pull request Jun 11, 2019
bluca added a commit to zeromq/libzmq-relicense that referenced this pull request Jun 5, 2023
Solution: copy it from PR zeromq/libzmq#3537
(cherry picked from commit 321c288005c0533d5a9d090d16dab6133682c49c)
bluca added a commit to zeromq/libzmq-relicense that referenced this pull request Jun 7, 2023
Solution: copy it from PR zeromq/libzmq#3537
(cherry picked from commit 321c288005c0533d5a9d090d16dab6133682c49c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants