Branch: Tag:

2008-09-09

2008-09-09 16:53:48 by Martin Stjernholm <mast@lysator.liu.se>

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]],   [[