Opened 11 years ago
Closed 11 years ago
#6012 closed Patches (wontfix)
Boost pthread_yield test build fix for OpenBSD
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | Boost 1.48.0 | Component: | test |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: |
Description
The attached patch for the Boost pthread_yield test code is necessary to build on OpenBSD. The return type of pthread_yield on OpenBSD is void instead of int.
Attachments (1)
Change History (3)
by , 11 years ago
Attachment: | patch-libs_config_test_boost_has_pthread_yield_ipp added |
---|
comment:1 by , 11 years ago
Owner: | changed from | to
---|
comment:2 by , 11 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
The way pthread_yield is used within Boost.Thread the return value is actually required (and checked). Also note that if the platform has sched_yield, then pthread_yield is never used and the setting of this macro is irrelevant.
Note:
See TracTickets
for help on using tickets.
This is Boost.Config ticket