summaryrefslogtreecommitdiff
path: root/sched_setscheduler.c
diff options
context:
space:
mode:
authorrpj <rpj>2003-09-02 16:15:05 +0000
committerrpj <rpj>2003-09-02 16:15:05 +0000
commit879bb0613c03b10bdf91aa862c2463b7f9f99087 (patch)
tree6e91c26a0f16a0e4bfd3ed436f27e470b5db7307 /sched_setscheduler.c
parenta5f3d62017a8e705016d0083a24837d6a56f178d (diff)
Added cancelation of/from non-POSIX threads; minor fixes; minor changes.snap-2003-09-03
Diffstat (limited to 'sched_setscheduler.c')
-rw-r--r--sched_setscheduler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sched_setscheduler.c b/sched_setscheduler.c
index 54e0c9b..47564d5 100644
--- a/sched_setscheduler.c
+++ b/sched_setscheduler.c
@@ -54,7 +54,7 @@ sched_setscheduler(pid_t pid, int policy)
if (pid != selfPid)
{
- HANDLE h = OpenProcess(PROCESS_SET_INFORMATION, FALSE, (DWORD) pid);
+ HANDLE h = OpenProcess(PROCESS_SET_INFORMATION, PTW32_FALSE, (DWORD) pid);
if (NULL == h)
{