Package st.gravel.support.jvm

Source Code of st.gravel.support.jvm.SemaphoreExtensions

package st.gravel.support.jvm;

import java.util.concurrent.Semaphore;

public class SemaphoreExtensions {

  public static Object newInstance(Object receiver) {
    return new Semaphore(0, true);
  }

}
TOP

Related Classes of st.gravel.support.jvm.SemaphoreExtensions

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.