samples/reentrant/test/org/apidesign/reentrant/CriticalSectionSynchronizedWithNonReentrantLockTest.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 CriticalSectionSynchronizedWithNonReentrantLockTest extends CriticalSectionBase {
     4 
     5     @Override
     6     protected CriticalSection<Integer> create() {
     7         return new CriticalSectionSynchronizedWithNonReentrantLock<Integer>();
     8     }
     9 
    10 }