Home | History | Annotate | Download | only in unittest

Lines Matching full:deadlock

28 // This file contains a set of unit tests for a deadlock detection tool.
161 // test01: Simple deadlock, 2 threads. {{{1
181 printf("test01: positive, simple deadlock\n");
186 // test02: Simple deadlock, 4 threads. {{{1
212 printf("test02: positive, simple deadlock\n");
217 // test03: Queue deadlock test, 2 workers. {{{1
218 // This test will deadlock for sure.
232 printf("test03: queue deadlock\n");
240 // test04: Queue deadlock test, 3 workers. {{{1
241 // This test will deadlock for sure.
262 printf("test04: queue deadlock\n");
270 // test05: Queue deadlock test, 1 worker set. {{{1
271 // This test will deadlock after some number of served requests.
297 printf("test05: queue deadlock\n");
305 // test06: Queue deadlock test, 3 worker sets. {{{1
306 // This test will deadlock after some number of served requests.
335 printf("test06: queue deadlock\n");
348 // test07: Simple deadlock which actually deadlocks, 2 threads. {{{1
368 printf("test07: positive, simple deadlock\n");