]>
Commit | Line | Data |
---|---|---|
999c2ad0 PS |
1 | commit 5b3f143191d599c1fcca89125793405150c79424 |
2 | Author: Rodrigo Kumpera <kumpera@gmail.com> | |
3 | Date: Sun Apr 22 21:02:59 2012 -0300 | |
4 | ||
5 | Fix concurrent sweep thread start code to actually work. | |
6 | ||
7 | diff --git a/mono/metadata/sgen-marksweep.c b/mono/metadata/sgen-marksweep.c | |
8 | index 15e2767..78bc368 100644 | |
9 | --- a/mono/metadata/sgen-marksweep.c | |
10 | +++ b/mono/metadata/sgen-marksweep.c | |
11 | @@ -1960,7 +1960,7 @@ static void | |
12 | post_param_init (void) | |
13 | { | |
14 | if (concurrent_sweep) { | |
15 | - if (mono_native_thread_create (&ms_sweep_thread, ms_sweep_thread_func, NULL)) { | |
16 | + if (!mono_native_thread_create (&ms_sweep_thread, ms_sweep_thread_func, NULL)) { | |
17 | fprintf (stderr, "Error: Could not create sweep thread.\n"); | |
18 | exit (1); | |
19 | } |