pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2002-10-28
2002-10-28 22:01:33 by Martin Stjernholm <mast@lysator.liu.se>
3e9fd3035f4115dc4812fa5bf627f4c22b3b9c96 (
8
lines) (+
7
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Test that a MutexKey holds a ref to its Mutex.
Rev: src/testsuite.in:1.556
1:
-
test_true([["$Id: testsuite.in,v 1.
555
2002/10/
18
17
:
16
:
21
grubba
Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
556
2002/10/
28
22
:
01
:
33
mast
Exp $"]]);
// This triggered a bug only if run sufficiently early. test_compile_any([[#pike 7.2]])
3373:
data[2]->wait(key); return data[0]; ]],1)
+
test_any([[
+
object lock = Thread.Mutex()->lock();
+
gc();
+
return objectp (lock);
+
]], 1)
// /precompiled/condition test_true(Thread.Condition())