patch applied (ghc): Add thread affinity support for FreeBSD

Ian Lynagh igloo at earth.li
Wed Jul 28 22:02:10 EDT 2010


Mon Jul 19 17:14:09 PDT 2010  Gabor Pali <pgj at FreeBSD.org>
  * Add thread affinity support for FreeBSD
  - Implement missing functions for setting thread affinity and getting real
    number of processors.
  - It is available starting from 7.1-RELEASE, which includes a native support
    for managing CPU sets.
  - Add __BSD_VISIBLE, since it is required for certain types to be visible in
    addition to POSIX & C99. 

    M ./configure.ac -1 +1
    M ./rts/posix/OSThreads.c -2 +31

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20100720001409-8a0c0-06556a0034794f00d9bab7299a17a578d2449821.gz



More information about the Cvs-ghc mailing list