Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
ebb1d388
Commit
ebb1d388
authored
Mar 18, 2009
by
Simon Marlow
Browse files
wibble for getNumberOfProcessors
parent
31caec79
Changes
2
Hide whitespace changes
Inline
Side-by-side
rts/RtsFlags.c
View file @
ebb1d388
...
...
@@ -17,14 +17,6 @@
#include <ctype.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_WINDOWS_H
#include <windows.h>
#endif
#include <stdlib.h>
#include <string.h>
...
...
rts/posix/OSThreads.c
View file @
ebb1d388
...
...
@@ -31,6 +31,10 @@
#include <sched.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
/*
* This (allegedly) OS threads independent layer was initially
* abstracted away from code that used Pthreads, so the functions
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment