11cb0ef41Sopenharmony_ci'use strict'; 21cb0ef41Sopenharmony_ci 31cb0ef41Sopenharmony_ciconst { 41cb0ef41Sopenharmony_ci isMainThread, 51cb0ef41Sopenharmony_ci SHARE_ENV, 61cb0ef41Sopenharmony_ci resourceLimits, 71cb0ef41Sopenharmony_ci setEnvironmentData, 81cb0ef41Sopenharmony_ci getEnvironmentData, 91cb0ef41Sopenharmony_ci threadId, 101cb0ef41Sopenharmony_ci Worker, 111cb0ef41Sopenharmony_ci} = require('internal/worker'); 121cb0ef41Sopenharmony_ci 131cb0ef41Sopenharmony_ciconst { 141cb0ef41Sopenharmony_ci MessagePort, 151cb0ef41Sopenharmony_ci MessageChannel, 161cb0ef41Sopenharmony_ci moveMessagePortToContext, 171cb0ef41Sopenharmony_ci receiveMessageOnPort, 181cb0ef41Sopenharmony_ci BroadcastChannel, 191cb0ef41Sopenharmony_ci} = require('internal/worker/io'); 201cb0ef41Sopenharmony_ci 211cb0ef41Sopenharmony_ciconst { 221cb0ef41Sopenharmony_ci markAsUntransferable, 231cb0ef41Sopenharmony_ci} = require('internal/buffer'); 241cb0ef41Sopenharmony_ci 251cb0ef41Sopenharmony_cimodule.exports = { 261cb0ef41Sopenharmony_ci isMainThread, 271cb0ef41Sopenharmony_ci MessagePort, 281cb0ef41Sopenharmony_ci MessageChannel, 291cb0ef41Sopenharmony_ci markAsUntransferable, 301cb0ef41Sopenharmony_ci moveMessagePortToContext, 311cb0ef41Sopenharmony_ci receiveMessageOnPort, 321cb0ef41Sopenharmony_ci resourceLimits, 331cb0ef41Sopenharmony_ci threadId, 341cb0ef41Sopenharmony_ci SHARE_ENV, 351cb0ef41Sopenharmony_ci Worker, 361cb0ef41Sopenharmony_ci parentPort: null, 371cb0ef41Sopenharmony_ci workerData: null, 381cb0ef41Sopenharmony_ci BroadcastChannel, 391cb0ef41Sopenharmony_ci setEnvironmentData, 401cb0ef41Sopenharmony_ci getEnvironmentData, 411cb0ef41Sopenharmony_ci}; 42