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
jtulach@111
     1
package org.apidesign.reentrant;
jtulach@111
     2
jtulach@111
     3
public class CriticalSectionSynchronizedWithAssertTest extends CriticalSectionBase {
jtulach@111
     4
    @Override
jtulach@111
     5
    protected CriticalSection<Integer> create() {
jtulach@111
     6
        return new CriticalSectionSynchronizedWithAssert<Integer>();
jtulach@111
     7
    }
jtulach@111
     8
jtulach@111
     9
}