Skip to content

Check for pthread_np.h header#3615

Merged
rhc54 merged 1 commit intoopenpmix:masterfrom
rhc54:topic/thrds
May 29, 2025
Merged

Check for pthread_np.h header#3615
rhc54 merged 1 commit intoopenpmix:masterfrom
rhc54:topic/thrds

Conversation

@rhc54
Copy link
Contributor

@rhc54 rhc54 commented May 27, 2025

We use the pthread_setaffinity_np function if it is found in the standard pthread library. Apparently, however, some folks split the definition of that function from pthreads.h into a separate header, even though they leave the function itself in the pthread library. Go figure.

We use the pthread_setaffinity_np function if it is
found in the standard pthread library. Apparently,
however, some folks split the definition of that function
from pthreads.h into a separate header, even though they
leave the function itself in the pthread library. Go figure.

Signed-off-by: Ralph Castain <rhc@pmix.org>
rhc54 added a commit to rhc54/prrte that referenced this pull request May 27, 2025
We use the pthread_setaffinity_np function if it is found in the standard pthread library. Apparently, however, some folks split the definition of that function from pthreads.h into a separate header, even though they leave the function itself in the pthread library. Go figure.

Port of openpmix/openpmix#3615

Signed-off-by: Ralph Castain <rhc@pmix.org>
@rhc54 rhc54 merged commit 829f0bb into openpmix:master May 29, 2025
20 checks passed
@rhc54 rhc54 deleted the topic/thrds branch May 29, 2025 23:50
rhc54 added a commit to openpmix/prrte that referenced this pull request May 29, 2025
We use the pthread_setaffinity_np function if it is found in the standard pthread library. Apparently, however, some folks split the definition of that function from pthreads.h into a separate header, even though they leave the function itself in the pthread library. Go figure.

Port of openpmix/openpmix#3615

Signed-off-by: Ralph Castain <rhc@pmix.org>
rhc54 added a commit to rhc54/prrte that referenced this pull request Jun 6, 2025
We use the pthread_setaffinity_np function if it is found in the standard pthread library. Apparently, however, some folks split the definition of that function from pthreads.h into a separate header, even though they leave the function itself in the pthread library. Go figure.

Port of openpmix/openpmix#3615

Signed-off-by: Ralph Castain <rhc@pmix.org>
(cherry picked from commit 9ca8bd8)
rhc54 added a commit to rhc54/prrte that referenced this pull request Jun 6, 2025
We use the pthread_setaffinity_np function if it is found in the standard pthread library. Apparently, however, some folks split the definition of that function from pthreads.h into a separate header, even though they leave the function itself in the pthread library. Go figure.

Port of openpmix/openpmix#3615

Signed-off-by: Ralph Castain <rhc@pmix.org>
(cherry picked from commit 9ca8bd8)
rhc54 added a commit to openpmix/prrte that referenced this pull request Jun 6, 2025
We use the pthread_setaffinity_np function if it is found in the standard pthread library. Apparently, however, some folks split the definition of that function from pthreads.h into a separate header, even though they leave the function itself in the pthread library. Go figure.

Port of openpmix/openpmix#3615

Signed-off-by: Ralph Castain <rhc@pmix.org>
(cherry picked from commit 9ca8bd8)
rhc54 added a commit to openpmix/prrte that referenced this pull request Jun 6, 2025
We use the pthread_setaffinity_np function if it is found in the standard pthread library. Apparently, however, some folks split the definition of that function from pthreads.h into a separate header, even though they leave the function itself in the pthread library. Go figure.

Port of openpmix/openpmix#3615

Signed-off-by: Ralph Castain <rhc@pmix.org>
(cherry picked from commit 9ca8bd8)
hppritcha pushed a commit to hppritcha/prrte that referenced this pull request Jul 10, 2025
We use the pthread_setaffinity_np function if it is found in the standard pthread library. Apparently, however, some folks split the definition of that function from pthreads.h into a separate header, even though they leave the function itself in the pthread library. Go figure.

Port of openpmix/openpmix#3615

Signed-off-by: Ralph Castain <rhc@pmix.org>
(cherry picked from commit 9ca8bd8)
hppritcha pushed a commit to hppritcha/prrte that referenced this pull request Jul 10, 2025
We use the pthread_setaffinity_np function if it is found in the standard pthread library. Apparently, however, some folks split the definition of that function from pthreads.h into a separate header, even though they leave the function itself in the pthread library. Go figure.

Port of openpmix/openpmix#3615

Signed-off-by: Ralph Castain <rhc@pmix.org>
(cherry picked from commit 9ca8bd8)
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.

1 participant