Re: [PATCH] tests: test if thread can block on error

2014-08-21 Thread Pekka Paalanen
On Tue, 5 Aug 2014 11:39:49 +0200 Marek Chalupa wrote: > wl_display_read_events() can make a thread wait until some other thread > ends reading. Normally it wakes up all threads after the reading is > done. But there's a place when it does not get to waking up the threads > - when an error occur

[PATCH] tests: test if thread can block on error

2014-08-05 Thread Marek Chalupa
wl_display_read_events() can make a thread wait until some other thread ends reading. Normally it wakes up all threads after the reading is done. But there's a place when it does not get to waking up the threads - when an error occurs. This test reveals bug that can block programs. If a thread is