mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-18 22:03:14 +01:00
Fixed crash in std.concurrency.spawn()
This commit is contained in:
15
phobos.patch
15
phobos.patch
@@ -1,3 +1,18 @@
|
||||
diff -U 3 -H -d -r -N -x '*.mak' -x tk -x backend -x debug -x release -x '*_pch.h' -x Makefile -x '*.rej' -x '*~' -x '*.log' -x .svn -x '*pro.user' -x .directory -x cmake_install -x CMakeFiles -x .preprocessed.tmp -x 'Makefile.*' -x '*.orig' -- phobos-orig/std/concurrency.d phobos/std/concurrency.d
|
||||
--- phobos-orig/std/concurrency.d 2010-09-17 00:27:48.000000000 +0400
|
||||
+++ phobos/std/concurrency.d 2010-11-02 21:33:03.417359999 +0300
|
||||
@@ -342,9 +342,10 @@
|
||||
owner = ownerTid;
|
||||
fn( args );
|
||||
}
|
||||
-
|
||||
+
|
||||
// TODO: MessageList and &exec should be shared.
|
||||
auto t = new Thread( &exec ); t.start();
|
||||
+ version(LDC) Thread.sleep(5_000);
|
||||
links[spawnTid] = linked;
|
||||
return spawnTid;
|
||||
}
|
||||
diff -U 3 -H -d -r -N -x '*.mak' -x tk -x backend -x debug -x release -x '*_pch.h' -x Makefile -x '*.rej' -x '*~' -x '*.log' -x .svn -x '*pro.user' -x .directory -x cmake_install -x CMakeFiles -x .preprocessed.tmp -x 'Makefile.*' -x '*.orig' -- phobos-orig/std/conv.d phobos/std/conv.d
|
||||
--- phobos-orig/std/conv.d 2010-09-17 00:27:48.000000000 +0400
|
||||
+++ phobos/std/conv.d 2010-10-29 12:06:21.221035000 +0400
|
||||
|
||||
Reference in New Issue
Block a user