Opened 11 years ago
Closed 11 years ago
#6100 closed Bugs (fixed)
Compute hardware_concurrency() using get_nprocs() on GLIBC systems
Reported by: | Owned by: | viboes | |
---|---|---|---|
Milestone: | Boost 1.49.0 | Component: | thread |
Version: | Boost 1.47.0 | Severity: | Problem |
Keywords: | Cc: | viboes |
Description
The get_nprocs() function is provided by glibc and not linux-specific. The attached patch is required to build on Debian/kfreebsd.
Attachments (1)
Change History (6)
by , 11 years ago
Attachment: | kfreebsd-thread.patch added |
---|
comment:1 by , 11 years ago
Cc: | added |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 11 years ago
I don't understand the question: the point of the patch is that get_nprocs() is provided by glibc, so the current test is wrong. See discussion:
comment:3 by , 11 years ago
Milestone: | To Be Determined → Boost 1.49.0 |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Thanks the pointers were quite clarifying.
Committed in trunk revision 75800.
comment:4 by , 11 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Let close it when merged to release
comment:5 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Committed in release at #76291
Note:
See TracTickets
for help on using tickets.
Hi,
this patch is not enough. Could you complete it so that the condition changes only Debian/kfreebsd? Which is the specific define that determines that we are compiling for Debian/kfreebsd?