diff options
Diffstat (limited to 'winsup/cygwin/pinfo.cc')
-rw-r--r-- | winsup/cygwin/pinfo.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc index 06c966f..fecf76e 100644 --- a/winsup/cygwin/pinfo.cc +++ b/winsup/cygwin/pinfo.cc @@ -103,6 +103,7 @@ pinfo_init (char **envp, int envc) environ_init (NULL, 0); /* call after myself has been set up */ myself->nice = winprio_to_nice (GetPriorityClass (GetCurrentProcess ())); myself->sched_policy = SCHED_OTHER; + myself->sched_reset_on_fork = false; myself->ppid = 1; /* always set last */ debug_printf ("Set nice to %d", myself->nice); } |