/dports/www/firefox-esr/firefox-91.8.0/gfx/vr/ |
H A D | VRThread.cpp | 21 : mThread(nullptr), mLifeTime(kDefaultThreadLifeTime), mStarted(false) { in VRThread() 28 if (!mThread) { in Start() 29 nsresult rv = NS_NewNamedThread(mName, getter_AddRefs(mThread)); in Start() 30 MOZ_ASSERT(mThread); in Start() 52 if (mThread) { in Shutdown() 54 mThread->Shutdown(); in Shutdown() 61 mThread = nullptr; in Shutdown() 75 MOZ_ASSERT(mThread); in PostDelayedTask() 79 mThread->Dispatch(std::move(aTask), NS_DISPATCH_NORMAL); in PostDelayedTask() 81 mThread->DelayedDispatch(std::move(aTask), aTime); in PostDelayedTask() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/vr/ |
H A D | VRThread.cpp | 22 : mThread(nullptr), mLifeTime(kDefaultThreadLifeTime), mStarted(false) { in VRThread() 29 if (!mThread) { in Start() 30 nsresult rv = NS_NewNamedThread(mName, getter_AddRefs(mThread)); in Start() 31 MOZ_ASSERT(mThread); in Start() 53 if (mThread) { in Shutdown() 55 mThread->Shutdown(); in Shutdown() 62 mThread = nullptr; in Shutdown() 76 MOZ_ASSERT(mThread); in PostDelayedTask() 80 mThread->Dispatch(std::move(aTask), NS_DISPATCH_NORMAL); in PostDelayedTask() 82 mThread->DelayedDispatch(std::move(aTask), aTime); in PostDelayedTask() [all …]
|
/dports/www/firefox/firefox-99.0/gfx/vr/ |
H A D | VRThread.cpp | 21 : mThread(nullptr), mLifeTime(kDefaultThreadLifeTime), mStarted(false) { in VRThread() 28 if (!mThread) { in Start() 29 nsresult rv = NS_NewNamedThread(mName, getter_AddRefs(mThread)); in Start() 30 MOZ_ASSERT(mThread); in Start() 52 if (mThread) { in Shutdown() 54 mThread->Shutdown(); in Shutdown() 61 mThread = nullptr; in Shutdown() 75 MOZ_ASSERT(mThread); in PostDelayedTask() 79 mThread->Dispatch(std::move(aTask), NS_DISPATCH_NORMAL); in PostDelayedTask() 81 mThread->DelayedDispatch(std::move(aTask), aTime); in PostDelayedTask() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/vr/ |
H A D | VRThread.cpp | 21 : mThread(nullptr), mLifeTime(kDefaultThreadLifeTime), mStarted(false) { in VRThread() 28 if (!mThread) { in Start() 29 nsresult rv = NS_NewNamedThread(mName, getter_AddRefs(mThread)); in Start() 30 MOZ_ASSERT(mThread); in Start() 52 if (mThread) { in Shutdown() 54 mThread->Shutdown(); in Shutdown() 61 mThread = nullptr; in Shutdown() 75 MOZ_ASSERT(mThread); in PostDelayedTask() 79 mThread->Dispatch(std::move(aTask), NS_DISPATCH_NORMAL); in PostDelayedTask() 81 mThread->DelayedDispatch(std::move(aTask), aTime); in PostDelayedTask() [all …]
|
/dports/deskutils/ausweisapp2/AusweisApp2-1.22.2/src/card/base/ |
H A D | ReaderManager.cpp | 17 , mThread() in Q_DECLARE_LOGGING_CATEGORY() 28 if (!mThread.isRunning()) in ~ReaderManager() 43 if (mThread.isRunning()) in init() 83 mThread.start(); in init() 91 if (!mThread.isRunning()) in reset() 108 if (mThread.isRunning() && !mThread.isInterruptionRequested()) in shutdown() 116 mThread.quit(); in shutdown() 117 mThread.wait(5000); in shutdown() 207 Q_ASSERT(mThread.isRunning() || mThread.isFinished()); in getPlugInInfos() 267 Q_ASSERT(mThread.isRunning() || mThread.isFinished()); in getReaderInfos() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/base/android/java/src/org/chromium/base/ |
H A D | JavaHandlerThread.java | 25 private final HandlerThread mThread; field in JavaHandlerThread 34 mThread = new HandlerThread(name, priority); in JavaHandlerThread() 44 return mThread.getLooper(); in getLooper() 49 mThread.start(); in maybeStart() 55 new Handler(mThread.getLooper()).post(new Runnable() { in startAndInitialize() 66 new Handler(mThread.getLooper()).post(new Runnable() { in quitThreadSafely() 69 mThread.quit(); in quitThreadSafely() 75 mThread.getLooper().quitSafely(); in quitThreadSafely() 84 mThread.join(); in joinThread() 92 return mThread.getState() != Thread.State.NEW; in hasStarted() [all …]
|
/dports/net-im/tg_owt/tg_owt-d578c76/src/base/android/java/src/org/chromium/base/ |
H A D | JavaHandlerThread.java | 25 private final HandlerThread mThread; field in JavaHandlerThread 34 mThread = new HandlerThread(name, priority); in JavaHandlerThread() 44 return mThread.getLooper(); in getLooper() 49 mThread.start(); in maybeStart() 55 new Handler(mThread.getLooper()).post(new Runnable() { in startAndInitialize() 66 new Handler(mThread.getLooper()).post(new Runnable() { in quitThreadSafely() 69 mThread.quit(); in quitThreadSafely() 75 mThread.getLooper().quitSafely(); in quitThreadSafely() 84 mThread.join(); in joinThread() 92 return mThread.getState() != Thread.State.NEW; in hasStarted() [all …]
|
/dports/graphics/azpainterb/azpainterb-1.1.3/mlib/src/linux/ |
H A D | mThread.c | 51 mThread *p = (mThread *)arg; in _thread_func() 69 void mThreadDestroy(mThread *p) in mThreadDestroy() 83 mThread *mThreadNew(int size,void (*func)(mThread *),intptr_t param) in mThreadNew() argument 85 mThread *p; in mThreadNew() 87 if(size < sizeof(mThread)) size = sizeof(mThread); in mThreadNew() 89 p = (mThread *)mMalloc(size, TRUE); in mThreadNew() 101 mBool mThreadRun(mThread *p) in mThreadRun() 129 mBool mThreadWait(mThread *p) in mThreadWait()
|
/dports/graphics/azpainter/azpainter-2.1.7/mlib/src/linux/ |
H A D | mThread.c | 51 mThread *p = (mThread *)arg; in _thread_func() 69 void mThreadDestroy(mThread *p) in mThreadDestroy() 83 mThread *mThreadNew(int size,void (*func)(mThread *),intptr_t param) in mThreadNew() argument 85 mThread *p; in mThreadNew() 87 if(size < sizeof(mThread)) size = sizeof(mThread); in mThreadNew() 89 p = (mThread *)mMalloc(size, TRUE); in mThreadNew() 101 mBool mThreadRun(mThread *p) in mThreadRun() 129 mBool mThreadWait(mThread *p) in mThreadWait()
|
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/vr/ |
H A D | VRThread.cpp | 42 DestroyThread(mThread); in ~VRListenerThreadHolder() 110 if (!mThread) { in Start() 111 nsresult rv = NS_NewNamedThread(mName, getter_AddRefs(mThread)); in Start() 112 MOZ_ASSERT(mThread); in Start() 134 if (mThread) { in Shutdown() 135 mThread->Shutdown(); in Shutdown() 136 mThread = nullptr; in Shutdown() 150 MOZ_ASSERT(mThread); in PostDelayedTask() 154 mThread->Dispatch(Move(aTask), NS_DISPATCH_NORMAL); in PostDelayedTask() 156 mThread->DelayedDispatch(Move(aTask), aTime); in PostDelayedTask() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/dom/workers/remoteworkers/ |
H A D | RemoteWorkerService.cpp | 75 MOZ_ASSERT(sRemoteWorkerService->mThread); in Thread() 76 return sRemoteWorkerService->mThread; in Thread() 114 MOZ_ASSERT(mThread); in InitializeOnTargetThread() 115 MOZ_ASSERT(mThread->IsOnCurrentThread()); in InitializeOnTargetThread() 118 mThread, false /* aRequireTailDispatch */); in InitializeOnTargetThread() 136 MOZ_ASSERT(mThread); in ShutdownOnTargetThread() 137 MOZ_ASSERT(mThread->IsOnCurrentThread()); in ShutdownOnTargetThread() 148 self->mThread->Shutdown(); in ShutdownOnTargetThread() 150 self->mThread = nullptr; in ShutdownOnTargetThread() 160 MOZ_ASSERT(mThread); in Observe() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/dom/workers/remoteworkers/ |
H A D | RemoteWorkerService.cpp | 75 MOZ_ASSERT(sRemoteWorkerService->mThread); in Thread() 76 return sRemoteWorkerService->mThread; in Thread() 101 rv = mThread->Dispatch(r.forget(), NS_DISPATCH_NORMAL); in InitializeOnMainThread() 114 MOZ_ASSERT(mThread); in InitializeOnTargetThread() 115 MOZ_ASSERT(mThread->IsOnCurrentThread()); in InitializeOnTargetThread() 133 MOZ_ASSERT(mThread); in ShutdownOnTargetThread() 134 MOZ_ASSERT(mThread->IsOnCurrentThread()); in ShutdownOnTargetThread() 147 self->mThread->Shutdown(); in ShutdownOnTargetThread() 148 self->mThread = nullptr; in ShutdownOnTargetThread() 158 MOZ_ASSERT(mThread); in Observe() [all …]
|
/dports/www/firefox/firefox-99.0/dom/workers/remoteworkers/ |
H A D | RemoteWorkerService.cpp | 75 MOZ_ASSERT(sRemoteWorkerService->mThread); in Thread() 76 return sRemoteWorkerService->mThread; in Thread() 101 rv = mThread->Dispatch(r.forget(), NS_DISPATCH_NORMAL); in InitializeOnMainThread() 114 MOZ_ASSERT(mThread); in InitializeOnTargetThread() 115 MOZ_ASSERT(mThread->IsOnCurrentThread()); in InitializeOnTargetThread() 133 MOZ_ASSERT(mThread); in ShutdownOnTargetThread() 134 MOZ_ASSERT(mThread->IsOnCurrentThread()); in ShutdownOnTargetThread() 147 self->mThread->Shutdown(); in ShutdownOnTargetThread() 148 self->mThread = nullptr; in ShutdownOnTargetThread() 158 MOZ_ASSERT(mThread); in Observe() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/dom/workers/remoteworkers/ |
H A D | RemoteWorkerService.cpp | 75 MOZ_ASSERT(sRemoteWorkerService->mThread); in Thread() 76 return sRemoteWorkerService->mThread; in Thread() 101 rv = mThread->Dispatch(r.forget(), NS_DISPATCH_NORMAL); in InitializeOnMainThread() 114 MOZ_ASSERT(mThread); in InitializeOnTargetThread() 115 MOZ_ASSERT(mThread->IsOnCurrentThread()); in InitializeOnTargetThread() 133 MOZ_ASSERT(mThread); in ShutdownOnTargetThread() 134 MOZ_ASSERT(mThread->IsOnCurrentThread()); in ShutdownOnTargetThread() 147 self->mThread->Shutdown(); in ShutdownOnTargetThread() 148 self->mThread = nullptr; in ShutdownOnTargetThread() 158 MOZ_ASSERT(mThread); in Observe() [all …]
|
/dports/deskutils/pim-data-exporter/pim-data-exporter-21.12.3/core/ |
H A D | exportresourcearchivejob.cpp | 53 mThread = new PimDataBackupThread(mZip, mUrl, mArchivePath, mArchiveName); in start() 54 connect(mThread, &PimDataBackupThread::error, this, &ExportResourceArchiveJob::error); in start() 55 connect(mThread, &PimDataBackupThread::info, this, &ExportResourceArchiveJob::info); in start() 56 …connect(mThread, &PimDataBackupThread::terminated, this, &ExportResourceArchiveJob::slotTerminated… in start() 57 connect(mThread, &QThread::finished, mThread, &QObject::deleteLater); in start() 58 mThread->start(); in start() 83 if (mThread) { in slotTaskCanceled() 84 mThread->exit(); in slotTaskCanceled()
|
/dports/cad/librepcb/librepcb-0.1.6/tests/unittests/common/network/ |
H A D | networkrequestbasesignalreceiver.h | 45 QThread* mThread; 65 mThread(QThread::currentThread()), in NetworkRequestBaseSignalReceiver() 81 EXPECT_EQ(mThread, QThread::currentThread()); in progressState() 87 EXPECT_EQ(mThread, QThread::currentThread()); in progressPercent() 94 EXPECT_EQ(mThread, QThread::currentThread()); in progress() 103 EXPECT_EQ(mThread, QThread::currentThread()); in aborted() 108 EXPECT_EQ(mThread, QThread::currentThread()); in succeeded() 113 EXPECT_EQ(mThread, QThread::currentThread()); in errored() 119 EXPECT_EQ(mThread, QThread::currentThread()); in finished() 140 EXPECT_EQ(mThread, QThread::currentThread()); in destroyed()
|
/dports/lang/spidermonkey78/firefox-78.9.0/tools/profiler/gecko/ |
H A D | ChildProfilerController.cpp | 32 NS_NewNamedThread("ProfilerChild", getter_AddRefs(mThread)))) { in Init() 34 mThread->Dispatch( in Init() 54 if (mThread) { in ShutdownAndMaybeGrabShutdownProfileFirst() 55 mThread->Dispatch(NewRunnableMethod<nsCString*>( in ShutdownAndMaybeGrabShutdownProfileFirst() 62 mThread->Shutdown(); in ShutdownAndMaybeGrabShutdownProfileFirst() 63 mThread = nullptr; in ShutdownAndMaybeGrabShutdownProfileFirst() 70 MOZ_ASSERT(!mThread, in ~ChildProfilerController() 77 MOZ_RELEASE_ASSERT(mThread == NS_GetCurrentThread()); in SetupProfilerChild() 90 MOZ_RELEASE_ASSERT(mThread == NS_GetCurrentThread()); in ShutdownProfilerChild()
|
/dports/lang/spidermonkey60/firefox-60.9.0/tools/profiler/gecko/ |
H A D | ChildProfilerController.cpp | 30 NS_NewNamedThread("ProfilerChild", getter_AddRefs(mThread)))) { in Init() 32 mThread->Dispatch( in Init() 52 if (mThread) { in ShutdownAndMaybeGrabShutdownProfileFirst() 53 mThread->Dispatch(NewRunnableMethod<nsCString*>( in ShutdownAndMaybeGrabShutdownProfileFirst() 60 mThread->Shutdown(); in ShutdownAndMaybeGrabShutdownProfileFirst() 61 mThread = nullptr; in ShutdownAndMaybeGrabShutdownProfileFirst() 68 MOZ_ASSERT(!mThread, in ~ChildProfilerController() 75 MOZ_RELEASE_ASSERT(mThread == NS_GetCurrentThread()); in SetupProfilerChild() 88 MOZ_RELEASE_ASSERT(mThread == NS_GetCurrentThread()); in ShutdownProfilerChild()
|
/dports/graphics/azpainterb/azpainterb-1.1.3/mlib/include/ |
H A D | mThread.h | 27 typedef struct _mThread mThread; typedef 33 void (*func)(mThread *); 38 void mThreadDestroy(mThread *p); 39 mThread *mThreadNew(int size,void (*func)(mThread *),intptr_t param); 40 mBool mThreadRun(mThread *p); 41 mBool mThreadWait(mThread *p);
|
/dports/graphics/azpainter/azpainter-2.1.7/mlib/include/ |
H A D | mThread.h | 27 typedef struct _mThread mThread; typedef 33 void (*func)(mThread *); 38 void mThreadDestroy(mThread *p); 39 mThread *mThreadNew(int size,void (*func)(mThread *),intptr_t param); 40 mBool mThreadRun(mThread *p); 41 mBool mThreadWait(mThread *p);
|
/dports/www/firefox-esr/firefox-91.8.0/dom/media/doctor/ |
H A D | DDMediaLogs.cpp | 93 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in LogForUnassociatedMessages() 97 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in LogForUnassociatedMessages() 102 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in GetLogFor() 115 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in LogFor() 126 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in SetMediaElement() 195 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in FindOrCreateLifetime() 221 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in LinkLifetimes() 236 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in UnlinkLifetime() 249 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in UnlinkLifetimes() 284 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in ProcessBuffer() [all …]
|
/dports/www/firefox/firefox-99.0/dom/media/doctor/ |
H A D | DDMediaLogs.cpp | 93 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in LogForUnassociatedMessages() 97 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in LogForUnassociatedMessages() 102 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in GetLogFor() 115 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in LogFor() 126 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in SetMediaElement() 195 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in FindOrCreateLifetime() 221 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in LinkLifetimes() 236 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in UnlinkLifetime() 249 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in UnlinkLifetimes() 284 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in ProcessBuffer() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/dom/media/doctor/ |
H A D | DDMediaLogs.cpp | 93 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in LogForUnassociatedMessages() 97 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in LogForUnassociatedMessages() 102 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in GetLogFor() 115 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in LogFor() 126 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in SetMediaElement() 195 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in FindOrCreateLifetime() 221 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in LinkLifetimes() 236 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in UnlinkLifetime() 249 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in UnlinkLifetimes() 284 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in ProcessBuffer() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/dom/media/doctor/ |
H A D | DDMediaLogs.cpp | 92 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in LogForUnassociatedMessages() 96 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in LogForUnassociatedMessages() 101 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in GetLogFor() 114 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in LogFor() 125 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in SetMediaElement() 194 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in FindOrCreateLifetime() 220 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in LinkLifetimes() 235 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in UnlinkLifetime() 248 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in UnlinkLifetimes() 283 MOZ_ASSERT(!mThread || mThread.get() == NS_GetCurrentThread()); in ProcessBuffer() [all …]
|
/dports/net-im/telepathy-qt/telepathy-qt-0.9.8/tests/lib/ |
H A D | test-thread-helper.cpp | 9 mThread = new QThread; in TestThreadHelperBase() 11 mThreadObject->moveToThread(mThread); in TestThreadHelperBase() 14 QObject::connect(mThread, SIGNAL(started()), &loop, SLOT(quit())); in TestThreadHelperBase() 15 QTimer::singleShot(0, mThread, SLOT(start())); in TestThreadHelperBase() 22 mThread->quit(); in ~TestThreadHelperBase() 23 mThread->wait(); in ~TestThreadHelperBase() 24 mThread->deleteLater(); in ~TestThreadHelperBase()
|