// ************************************************************************ // $Id: PriorityInheritance.java 561 2005-07-11 20:09:17Z mdeters $ // ************************************************************************ // // jRate // // Copyright (C) 2001-2005 by Angelo Corsaro. // // All Rights Reserved. // // Permission to use, copy, modify, and distribute this software and // its documentation for any purpose is hereby granted without fee, // provided that the above copyright notice appear in all copies and // that both that copyright notice and this permission notice appear // in supporting documentation. I don't make any representations // about the suitability of this software for any purpose. It is // provided "as is" without express or implied warranty. // // // ************************************************************************* // // ************************************************************************* package javax.realtime; /** * A monitor control class specifying priority inheritance as a * strategy to avoid deadlock. * * @see MonitorControl * @see PriorityCeilingEmulation * @author Morgan Deters * @version 1.0 * @since 0.3.8 */ public class PriorityInheritance extends MonitorControl { private static final PriorityInheritance theInstance = new PriorityInheritance(); /** * Constructs a {@link PriorityInheritance} object. */ public PriorityInheritance() {} /** * Returns the singleton instance of PriorityInheritance. * * @return the singleton instance of PriorityInheritance */ public static PriorityInheritance instance() { return theInstance; } }