pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2008-09-09
2008-09-09 16:53:48 by Martin Stjernholm <mast@lysator.liu.se>
d0ba9c3b358a878ad25f96df6681705af73658cd (
9
lines) (+
8
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Added test case for deadlock between _disable_threads and
thread_create.
Rev: src/testsuite.in:1.851
1:
START_MARKER
-
test_true([["$Id: testsuite.in,v 1.
850
2008/09/
02
11
:
58
:
57
mast Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
851
2008/09/
09
16
:
53
:
48
mast Exp $"]]);
// This triggered a bug only if run sufficiently early. test_compile_any([[#pike 7.2]])
4754:
#endif return 1; ]], 1);
+
+
test_do([[
+
object l = _disable_threads();
+
Thread.thread_create (lambda () {});
+
destruct (l);
]])
-
+
]])
cond([[0]], [[