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

SSL NoopThread.cpp   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 "mozilla/Assertions.h"

#include "threading/noop/ThreadPlatformData.h"

namespace js {

inline ThreadId::PlatformData* ThreadId::platformData() {
  return reinterpret_cast<PlatformData*>(platformData_);
}

inline const ThreadId::PlatformData* ThreadId::platformData() const {
  return reinterpret_cast<const PlatformData*>(platformData_);
}

ThreadId::ThreadId() {}
ThreadId::operator bool() const { return false; }
bool ThreadId::operator==(const ThreadId& aOther) const { return true; }
bool Thread::create(void* (*aMain)(void*), void* aArg) { return false; }
void Thread::join() {}
void Thread::detach() {}
ThreadId ThreadId::ThisThreadId() { return ThreadId(); }
void ThisThread::SetName(const char*) {}
void ThisThread::GetName(char*, size_t) {}
void ThisThread::SleepMilliseconds(size_t) {
  MOZ_CRASH("There is no any implementation for sleep.");
}

}  // namespace js

Messung V0.5 in Prozent
C=96 H=97 G=96

¤ Dauer der Verarbeitung: 0.17 Sekunden  (vorverarbeitet am  2026-09-28) ¤

*© 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.