pike.git
/
src
/
testsuite.in
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/testsuite.in: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]]) cond([[all_constants()->_verify_internals]], [[ test_do(_verify_internals()) ]]); test_eq(1e1,10.0); test_eq(1E1,10.0);
pike.git/src/testsuite.in:3366:
object o = data[1]->lock(); data[3]--; data[2]->signal(); }, data); } while(data[3]) 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()) test_do(Thread.Condition()->signal()) test_do(Thread.Condition()->broadcast()) test_true(objectp(clone(Thread.Fifo))) test_true(objectp(clone(Thread.Queue))) test_any([[object o=Thread.Queue(); thread_create(lambda(object f) { for(int e=0;e<10000;e++) f->write(random(4711)); f->write(-1); },o); int tmp=0; while(o->read() != -1) tmp++; return tmp;]],10000)