[JIRA] (CPPXT-152) Issue with PThread sleep

Rahul Kalaskar (Jira) jira at shibboleth.atlassian.net
Mon Nov 22 13:37:32 UTC 2021


Rahul Kalaskar ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=619b0b44ebce470067f92139 ) *created* an issue

XMLTooling - C++ ( https://shibboleth.atlassian.net/browse/CPPXT?atlOrigin=eyJpIjoiMzU5M2U1ZGY3OTFiNDkxZTg2MDljMTZkMzViMzM2ZTUiLCJwIjoiaiJ9 ) / Bug ( https://shibboleth.atlassian.net/browse/CPPXT-152?atlOrigin=eyJpIjoiMzU5M2U1ZGY3OTFiNDkxZTg2MDljMTZkMzViMzM2ZTUiLCJwIjoiaiJ9 ) CPPXT-152 ( https://shibboleth.atlassian.net/browse/CPPXT-152?atlOrigin=eyJpIjoiMzU5M2U1ZGY3OTFiNDkxZTg2MDljMTZkMzViMzM2ZTUiLCJwIjoiaiJ9 ) Issue with PThread sleep ( https://shibboleth.atlassian.net/browse/CPPXT-152?atlOrigin=eyJpIjoiMzU5M2U1ZGY3OTFiNDkxZTg2MDljMTZkMzViMzM2ZTUiLCJwIjoiaiJ9 )

Issue Type: Bug Affects Versions: 3.2.0 Assignee: Scott Cantor ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A5b78efc9-1379-42cc-a3f6-56c6ea3a0007 ) Components: Core Classes Created: 22/Nov/21 8:37 AM Priority: Trivial Reporter: Rahul Kalaskar ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=619b0b44ebce470067f92139 )

Hi All,

I am compiling xmltooling-3.2.0 on Linux. During this, I stumbled into this issue. I am wondering if this is a bug?

File: xmltooling/util/PThreads.cpp

Method: sleep

void Thread::sleep(int seconds)

{ sleep(seconds); }

Should the sleep be instead pthread_sleep ?

( https://shibboleth.atlassian.net/browse/CPPXT-152#add-comment?atlOrigin=eyJpIjoiMzU5M2U1ZGY3OTFiNDkxZTg2MDljMTZkMzViMzM2ZTUiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/CPPXT-152#add-comment?atlOrigin=eyJpIjoiMzU5M2U1ZGY3OTFiNDkxZTg2MDljMTZkMzViMzM2ZTUiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100183- sha1:f32a060 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20211122/6f286a79/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-b135c244-781b-408b-a0d4-9dea74c8cf77
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211122/6f286a79/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-trivial-df288066-73c9-450a-94bf-1ab6d84af778
Type: image/png
Size: 563 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211122/6f286a79/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-301bab32-b1c8-4b11-8e6c-865acea331b0
Type: image/png
Size: 425 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211122/6f286a79/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-c8c399b6-c1a9-4d6c-8c28-3f1b305d854d
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20211122/6f286a79/attachment-0007.png>


More information about the commits mailing list