Home
last modified time | relevance | path

Searched refs:isMainThread (Results 1 – 25 of 124) sorted by relevance

12345

/third_party/node/test/parallel/
Dtest-code-cache.js8 const { isMainThread } = require('../common');
38 if (isMainThread) {
53 if (!isMainThread) {
Dtest-inspector-workers-flat-list.js6 const { Worker, isMainThread, parentPort, workerData } =
9 if (isMainThread || workerData !== 'launched by test') {
74 if (isMainThread) {
Dtest-trace-events-worker-metadata.js6 const { isMainThread } = require('worker_threads');
8 if (isMainThread) {
Dtest-crypto-worker-thread.js10 const { Worker, isMainThread, workerData } = require('worker_threads');
12 if (isMainThread) {
Dtest-worker-relative-path.js5 const { Worker, isMainThread, parentPort } = require('worker_threads');
7 if (isMainThread) {
Dtest-worker-console-listeners.js3 const { Worker, isMainThread } = require('worker_threads');
6 if (isMainThread) {
Dtest-worker.js4 const { Worker, isMainThread, parentPort } = require('worker_threads');
8 if (isMainThread) {
Dtest-worker-parent-port-ref.js4 const { isMainThread, parentPort, Worker } = require('worker_threads');
10 if (isMainThread) {
Dtest-worker-relative-path-double-dot.js5 const { Worker, isMainThread, parentPort } = require('worker_threads');
7 if (isMainThread) {
Dtest-worker-no-stdin-stdout-interaction.js4 const { Worker, isMainThread } = require('worker_threads');
8 if (isMainThread) {
Dtest-worker-dns-terminate-during-query.js5 const { Worker, isMainThread } = require('worker_threads');
9 if (isMainThread) {
Dtest-disable-proto-delete.js8 const { Worker, isMainThread } = require('worker_threads');
21 if (isMainThread) {
Dtest-disable-proto-throw.js8 const { Worker, isMainThread } = require('worker_threads');
40 if (isMainThread) {
Dtest-no-addons-resolution-condition.js5 const { Worker, isMainThread, parentPort } = require('worker_threads');
11 if (isMainThread) {
Dtest-worker-process-argv.js4 const { Worker, isMainThread, workerData } = require('worker_threads');
6 if (isMainThread) {
Dtest-worker.mjs3 import { Worker, isMainThread, parentPort } from 'worker_threads';
7 if (isMainThread) {
Dtest-worker-cleanup-handles.js7 const { Worker, isMainThread, parentPort } = require('worker_threads');
9 if (isMainThread) {
Dtest-worker-safe-getters.js6 const { Worker, isMainThread } = require('worker_threads');
8 if (isMainThread) {
Dtest-worker-message-port-drain.js12 isMainThread,
17 if (isMainThread) {
/third_party/node/test/node-api/test_worker_terminate_finalization/
Dtest.js8 const { Worker, isMainThread } = require('worker_threads');
10 if (isMainThread) {
/third_party/node/test/fixtures/es-modules/tla/
Dunresolved-with-worker-process-exit.mjs1 import { Worker, isMainThread } from 'worker_threads';
3 if (isMainThread) {
/third_party/node/test/addons/uv-handle-leak/
Dtest.js16 const { isMainThread } = require('worker_threads');
17 if (!isMainThread)
/third_party/node/lib/
Dworker_threads.js4 isMainThread,
25 isMainThread, property
/third_party/node/test/common/
Drequire-as.js15 const { Worker, isMainThread, workerData } = require('worker_threads');
17 if (isMainThread) {
/third_party/node/test/node-api/test_worker_terminate/
Dtest.js4 const { Worker, isMainThread, workerData } = require('worker_threads');
6 if (isMainThread) {

12345