Class AEMonSem

java.lang.Object
com.biglybt.core.util.AEMonSem
Direct Known Subclasses:
AEMonitorOld, AESemaphoreOld

public abstract class AEMonSem extends Object
  • Field Details

    • DEBUG

      protected static final boolean DEBUG
      See Also:
    • DEBUG_CHECK_DUPLICATES

      protected static final boolean DEBUG_CHECK_DUPLICATES
      See Also:
    • DEBUG_TIMER

      protected static final long DEBUG_TIMER
      See Also:
    • tls

      private static final ThreadLocal tls
    • monitor_id_next

      private static long monitor_id_next
    • semaphore_id_next

      private static long semaphore_id_next
    • debug_traces

      private static final Map debug_traces
    • debug_recursions

      static final List debug_recursions
    • debug_reciprocals

      private static final List debug_reciprocals
    • debug_name_mapping

      private static final Map debug_name_mapping
    • debug_monitors

      private static final Map debug_monitors
    • debug_semaphores

      private static final Map debug_semaphores
    • entry_count

      protected long entry_count
    • last_entry_count

      protected long last_entry_count
    • last_trace_key

      protected String last_trace_key
    • name

      protected final String name
    • is_monitor

      protected final boolean is_monitor
    • waiting

      protected int waiting
  • Constructor Details

    • AEMonSem

      protected AEMonSem(String _name, boolean _monitor)
  • Method Details

    • check

      protected static void check(AEDiagnosticsLogger diag_logger)
    • debugEntry

      protected void debugEntry()
    • debugExit

      protected void debugExit()
    • getName

      public String getName()