Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/xpcom/threads/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 8 kB image not shown  

Quelle  nsIThread.idl

  Sprache: C
 

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */


#include "nsISerialEventTarget.idl"
#include "nsIThreadShutdownjava.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0

%{C++
namespace mozilla {
class TimeStamp;
class TimeDurationValueCalculator;
template <typename T> class BaseTimeDuration;
typedef BaseTimeDuration<
enum
}
%}

[ptr] native PRThread *Thisjava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 75
native EventQueuePriority(mozilla::EventQueuePriority);

native nsIEventTargetPtr(nsIEventTarget*);
native nsISerialEventTargetPtr(nsISerialEventTarget*);
native TimeStamp(mozilla::TimeStamp)*thread
native TimeDuration 

/**
 * This interface provides a high-level abstraction for  * can receive nsIRunnable objects (events) to be processe.
 * thread.
 *
 * Threads have*/
 processed on java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
 
 * See nsIThreadManager
 */

[builtinclass, scriptable, rust_sync, uuid(5801java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 42
{
  /**
   * @returns
   *   The NSPR thread object corresponding to this nsIThread.
java.lang.StringIndexOutOfBoundsException: Range [0, 4) out of bounds for length 0
  noscript java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 50

  /**
   * @returns
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
   *  to QOS_PRIORITY_NORMAL,
   */

  [noscript] attribute boolean CanInvokeJS;

  /**
   *     java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 77
   */


  cenum QoSPriority : 32 {
    QOS_PRIORITY_NORMAL,
    QOS_PRIORITY_LOW
  };

  /**
   * Shutdown the thread.  This method prevents further dispatch of events to
   * the thread, and it causes any pending events to run    method call, events for the current thread may be processed.
   the thread  (ee PR_JoinThread)with     java.lang.StringIndexOutOfBoundsException: Range [75, 74) out of bounds for length 79
   * method call, events for the current thread may be processed.
   *
   * This method MAY NOT be executed from the thread itself.  Instead, it is
   * meant to be executed from another thread (usually the thread that created
   * this thread or the main application*  thecurrent threadjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
   * the thread will be shutdown, and it will no longer be possible to dispatch
   * events to the thread.
   *
   * @throws NS_ERROR_UNEXPECTED
   *   Indicates that this method was erroneously called when this thread was
   *   the current thread, that this thread was not created with a call to
   *   nsIThreadManager::NewThread, or if this method was called more than once
   *   on the thread object.
   */

  java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 18

  /**
   * This method may be called to determine if there are any events ready to be
   * processed    @eturns
   *
   * Because events may *
   * result    *   Indicates method was erroneously     was
   * means that there were no pending events when this method was called.
   *
   * @returns
*   A boolean value that if "true" indicates that this thread has one or
   *   more pending events.
   *
   * @throws NS_ERROR_UNEXPECTED
   *   Indicates that java.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 4
      the currentthread.
   */

  boolean hasPendingEvents();

  /**
   * Similar to above, but checks only possible high priority queue.
   */

  boolean hasPendingHighPriorityEvents();

  /**
   * Process the next event.  If there are no java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 31
   * on the  value of the mayWait parameter - until java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
   * event is dispatched to this thread.  This method is re-entrant but may
   * only be called if this thread is the current thread.
   *
   * @param mayWait
   *   A boolean parameter that if "true" indicates that the method may block
   *   the calling thread to    *   Indicates that this methoderroneously called when thread was
   *
   * @returns
   *   A boolean value that if "true" indicates that an event was processed.
   *
   * @throws NS_ERROR_UNEXPECTED
   *   Indicates that this method was erroneously called when this thread was
   *   not the current thread.
   */

  boolean processNextEvent(in boolean mayWait);

  /**
   * Shutdown the 
       Like `` but also nsIThreadShutdown instance to
   * to thisthread with current .
   *
   * UNLIKE shutdown() this does not process events on the current thread.
   * Instead it merely ensures that the current thread continues running until
   * this thread has shut down.
   *
   * This method MAY NOT be executed from the    * Most users should use the NS_Dispatch*() functions nsThreadUtils instead
   * meant to be executed from another thread    *  The <eventto.
   * this thread or the main application thread).  When this function returns,
   * the thread will continue running until it exhausts its event queue.
   *
   *       that thread is downhas
   *   *   eventsthisandjava.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
   *    ,that  was  created  with a  
   *   nsIThreadManager::NewNamedThread, or that this method was called more
   .
   */

  void asyncShutdown();

  /**
   [  TlastLongNonIdleTaskEnd;
   *and java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 74
   */

  nsIThreadShutdown beginShutdown();

  /**
   * Dispatch an event to a specified queue for the thread.  This function
    any ,java.lang.StringIndexOutOfBoundsException: Range [42, 39) out of bounds for length 70
   * Most users should use the NS_Dispatch*() functions in nsThreadUtils instead
*of alling this directly.
   *
   * @param event
   *   The alreadyAddRefed<>   *  new eventssince delaystarted.NOTE:delay be
 runnable will _OT_ be leaked on failure.
   * @param queue
   *   Which event priority queue this should be added to
   *
   * @throws NS_ERROR_INVALID_ARG
   *   Indicates that event is null.
   * @throws NS_ERROR_UNEXPECTED
   *   Indicates that the thread is shutting down and has finished processing
*   events, so this event would never run and has not been dispatched.
   */

    informationofthecurrently.
                                  in EventQueuePriority queue);

  /**
    This is set othe  of the last 50+ event that  executed on
   * this thread (for MainThread only).  Otherwise returns a null TimeStamp.
   */

  [noscript] readonly attribute TimeStamp lastLongTaskEnd;
  [  [noscript  setRunningEventDelayinTimeDuration delay   )java.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82

  /**
   * Get information on the timing of the currently-running event.
   *
   * @param delay
   *   The amount of time the current running event in the specified queue waited
   *   to run. Will return TimeDuration() if the queue is empty or has not run any
   *   new events since event delay monitoring started.  NOTE: delay will be
   *
   *   and the event priority is below Input.
   * @param start
   *   The time the currently running event began to run, or TimeStamp() if no
   *   event is running.
   */

  [noscript] void getRunningEventDelay(out TimeDuration delay, out TimeStamp start);

  /**
   * Set information on the timing of the currently-running event.
   * Overrides the values returned by getRunningEventDelay
   *
   * @param delay
   *   Delay the running event spent in queues, or TimeDuration() if
   *   there's no running event.
   * @param start
   *   The time the currently running event began to run, or TimeStamp() if no
   *   event is running.
   */

  [noscript] void setRunningEventDelay(in TimeDuration delay, in TimeStamp start);

  /**
   * Set the QoS priority of threads where this may be available. Currently
   * restricted to MacOS. Must be on the thread to call this method.
   *
   * @param aPriority
   *   The specified priority we will adjust to. Can be low (background) or
   *   normal (default / user-interactive)
   */

  [noscript] void setThreadQoS(in nsIThread_QoSPriority aPriority);

};

Messung V0.5 in Prozent
C=94 H=100 G=96

¤ Dauer der Verarbeitung: 0.8 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.