projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
97c4b27
)
FIX getNumberOfProcessors() on MacOS X
author
Austin Seipp
<mad.one@gmail.com>
Wed, 18 Mar 2009 02:31:27 +0000
(
02:31
+0000)
committer
Austin Seipp
<mad.one@gmail.com>
Wed, 18 Mar 2009 02:31:27 +0000
(
02:31
+0000)
This checks if darwin_HOST_OS is defined and, if so, we call
sysctlbyname() on the "hw.ncpu" property to get the processor count.
No differences found