Files
mercury/runtime
Paul Bone 0bd301b59e Add thread.num_processors/3
Add a predicate that retrieves the number of processors available to this
process if known.

library/thread.m:
    As above.

runtime/mercury_context.c:
    The existing code that determines the number of processors was only used
    on thread safe low-level C grades.  Make it also available for thread
    safe high-level C grades.

    Add a fall back (less accurate) method of determining the number of
    processors.

    Remove an out-of-date comment.

runtime/mercury_context.h:
    Export the number of available processors.

scripts/ml.in:
    Link to libhwloc (if configured) on thread safe high and low-level C
    grades.

NEWS:
    Announce new predicate.

configure.ac:
    Update a --help message.
2016-05-13 16:17:52 +10:00
..
2012-09-04 11:42:53 +00:00
2010-09-15 04:36:23 +00:00
2016-05-13 16:17:52 +10:00
2016-05-13 16:17:52 +10:00
2014-08-30 00:48:53 +02:00
2010-05-23 04:54:22 +00:00
2014-11-29 22:59:34 +11:00
2014-04-18 02:02:35 +10:00
2015-12-17 00:11:18 +11:00
2014-08-30 00:48:53 +02:00
2016-04-05 13:36:19 +10:00
2015-12-17 00:11:18 +11:00
2014-08-30 00:48:53 +02:00