samples/reentrant/test/org/apidesign/reentrant/CriticalSectionSynchronizedWithAssertTest.java
author Jaroslav Tulach <jtulach@netbeans.org>
Sat, 14 Jun 2008 09:54:36 +0200
changeset 111 3905a2e66b9b
permissions -rw-r--r--
Sample code with various attempts to fight with reentrant code
     1 package org.apidesign.reentrant;
     2 
     3 public class CriticalSectionSynchronizedWithAssertTest extends CriticalSectionBase {
     4     @Override
     5     protected CriticalSection<Integer> create() {
     6         return new CriticalSectionSynchronizedWithAssert<Integer>();
     7     }
     8 
     9 }