Back to project page InfuseFactory.
The source code is released under:
/** * Copyright (c) 2014 Lazu Ioan-Bogdan * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from ...
If you think the Android project InfuseFactory listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.factory.infuse.internal.lock; //from w w w . jav a 2 s. co m import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; public class SharedLock { private static Lock lock = new ReentrantLock(true); public static Lock getSharedLock() { return lock; } }