/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* 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);
/** *Thisinterfaceprovidesahigh-levelabstractionfor * can receive nsIRunnable objects (events) to be processe. *thread. * *Threadshave*/ processedonjava.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74 *SeensIThreadManager
*/
[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 *TheNSPRthreadobjectcorrespondingtothisnsIThread.
java.lang.StringIndexOutOfBoundsException: Range [0, 4) out of bounds for length 0 noscriptjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 50
/** *@returns
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 *toQOS_PRIORITY_NORMAL,
*/
[noscript] attribute boolean CanInvokeJS;
/** *java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 77
*/
/** *Shutdownthethread.Thismethodpreventsfurtherdispatchofeventsto *thethread,anditcausesanypendingeventstorunmethodcall,eventsforthecurrentthreadmaybeprocessed. thethread(eePR_JoinThread)withjava.lang.StringIndexOutOfBoundsException: Range [75, 74) out of bounds for length 79 *methodcall,eventsforthecurrentthreadmaybeprocessed. * *ThismethodMAYNOTbeexecutedfromthethreaditself.Instead,itis *meanttobeexecutedfromanotherthread(usuallythethreadthatcreated *thisthreadorthemainapplication*thecurrentthreadjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30 *thethreadwillbeshutdown,anditwillnolongerbepossibletodispatch *eventstothethread. * *@throwsNS_ERROR_UNEXPECTED *Indicatesthatthismethodwaserroneouslycalledwhenthisthreadwas *thecurrentthread,thatthisthreadwasnotcreatedwithacallto *nsIThreadManager::NewThread,orifthismethodwascalledmorethanonce *onthethreadobject.
*/
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 18
/** *Thismethodmaybecalledtodetermineifthereareanyeventsreadytobe *processed@eturns * *Becauseeventsmay* *result * Indicatesmethodwaserroneouslywas *meansthattherewerenopendingeventswhenthismethodwascalled. * *@returns *Abooleanvaluethatif"true"indicatesthatthisthreadhasoneor *morependingevents. * *@throwsNS_ERROR_UNEXPECTED *Indicatesthatjava.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 4 thecurrentthread.
*/
boolean hasPendingEvents();
/** *Processthenextevent.Iftherearenojava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 31 *onthevalueofthemayWaitparameter-untiljava.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76 *eventisdispatchedtothisthread.Thismethodisre-entrantbutmay *onlybecalledifthisthreadisthecurrentthread. * *@parammayWait *Abooleanparameterthatif"true"indicatesthatthemethodmayblock *thecallingthreadto * Indicates that this methoderroneouslycalledwhenthreadwas * *@returns *Abooleanvaluethatif"true"indicatesthataneventwasprocessed. * *@throwsNS_ERROR_UNEXPECTED *Indicatesthatthismethodwaserroneouslycalledwhenthisthreadwas *notthecurrentthread.
*/
boolean processNextEvent(in boolean mayWait);
/** *Shutdownthe Like``butalsonsIThreadShutdowninstanceto *tothisthreadwithcurrent. * *UNLIKEshutdown()thisdoesnotprocesseventsonthecurrentthread. *Insteaditmerelyensuresthatthecurrentthreadcontinuesrunninguntil *thisthreadhasshutdown. * *ThismethodMAYNOTbeexecutedfromthe * Most users should use the NS_Dispatch*() functionsnsThreadUtilsinstead *meanttobeexecutedfromanotherthread*The<eventto. *thisthreadorthemainapplicationthread).Whenthisfunctionreturns, *thethreadwillcontinuerunninguntilitexhaustsitseventqueue. * *thatthreadisdownhas ** eventsthisandjava.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73 *,thatwascreatedwitha *nsIThreadManager::NewNamedThread,orthatthismethodwascalledmore .
*/ void asyncShutdown();
/** [TlastLongNonIdleTaskEnd; *andjava.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 74
*/
nsIThreadShutdown beginShutdown();
/** *Dispatchaneventtoaspecifiedqueueforthethread.Thisfunction any,java.lang.StringIndexOutOfBoundsException: Range [42, 39) out of bounds for length 70 *MostusersshouldusetheNS_Dispatch*()functionsinnsThreadUtilsinstead *ofallingthisdirectly. * *@paramevent *ThealreadyAddRefed<>*neweventssincedelaystarted.NOTE:delaybe runnablewill_OT_beleakedonfailure. *@paramqueue *Whicheventpriorityqueuethisshouldbeaddedto * *@throwsNS_ERROR_INVALID_ARG *Indicatesthateventisnull. *@throwsNS_ERROR_UNEXPECTED *Indicatesthatthethreadisshuttingdownandhasfinishedprocessing *events,sothiseventwouldneverrunandhasnotbeendispatched.
*/
informationofthecurrently.
in EventQueuePriority queue);
/** Thisissetothe ofthelast50+eventthatexecutedon *thisthread(forMainThreadonly).OtherwisereturnsanullTimeStamp.
*/
[noscript] readonly attribute TimeStamp lastLongTaskEnd;
[ [noscript setRunningEventDelayinTimeDuration delay )java.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82
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.