]> git.pld-linux.org Git - packages/mono.git/blame - mono-concurrent-sweep.patch
- fix concurrent sweep thread start code to actually work.
[packages/mono.git] / mono-concurrent-sweep.patch
CommitLineData
999c2ad0
PS
1commit 5b3f143191d599c1fcca89125793405150c79424
2Author: Rodrigo Kumpera <kumpera@gmail.com>
3Date: Sun Apr 22 21:02:59 2012 -0300
4
5 Fix concurrent sweep thread start code to actually work.
6
7diff --git a/mono/metadata/sgen-marksweep.c b/mono/metadata/sgen-marksweep.c
8index 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 }
This page took 0.316031 seconds and 4 git commands to generate.