pike.git
/
src
/
testsuite.in
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/testsuite.in:5366:
{ Thread.Mutex m = Thread.Mutex(); Thread.MutexKey l = m->lock(); Thread.thread_create (lambda () {m->lock(); exit (0);}); call_out (destruct, 0, l); return -1; }"); return Process.system (RUNPIKE +" testsuite_test.pike"); ]], 0)
+
test_eval_error([[
+
Thread.thread_create(lambda(){
+
// NB: It's currently not possible to inhibit the
+
// backtrace (without messing with the master).
+
error("Ignore the following line.\n");
+
})->wait();
+
]])
+
cond_end // thread_create cond([[0]], [[ test_any([[ // test if read() hangs when fd is closed by other thread object f=Stdio.File(); object g=f->pipe(); object t=thread_create( lambda()