Skip to content

Commit c753de8

Browse files
committed
s/threadprofiling/threadprofiler/g
NFC.
1 parent 4376982 commit c753de8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

system/include/emscripten/threading.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -393,21 +393,21 @@ void emscripten_thread_sleep(double msecs);
393393
// Sets the profiler status of the calling thread. This is a no-op if thread
394394
// profiling is not active.
395395
// This is an internal function and generally not intended for user code.
396-
// When thread profiler is not enabled (not building with --threadprofiling),
396+
// When thread profiler is not enabled (not building with --threadprofiler),
397397
// this is a no-op.
398398
void emscripten_set_current_thread_status(EM_THREAD_STATUS newStatus);
399399

400400
// Sets the profiler status of the calling thread, but only if it was in the
401401
// expected status beforehand.
402402
// This is an internal function and generally not intended for user code.
403-
// When thread profiler is not enabled (not building with --threadprofiling),
403+
// When thread profiler is not enabled (not building with --threadprofiler),
404404
// this is a no-op.
405405
void emscripten_conditional_set_current_thread_status(EM_THREAD_STATUS expectedStatus, EM_THREAD_STATUS newStatus);
406406

407407
// Sets the name of the given thread. Pass pthread_self() as the thread ID to
408408
// set the name of the calling thread.
409409
// The name parameter is a UTF-8 encoded string which is truncated to 32 bytes.
410-
// When thread profiler is not enabled (not building with --threadprofiling),
410+
// When thread profiler is not enabled (not building with --threadprofiler),
411411
// this is a no-op.
412412
void emscripten_set_thread_name(pthread_t threadId, const char *name);
413413

system/lib/libc/musl/src/internal/pthread_impl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ struct pthread {
2222
// by direct pointer arithmetic in worker.js.
2323
int threadStatus; // 0: thread not exited, 1: exited.
2424
int threadExitCode; // Thread exit code.
25-
void *profilerBlock; // If --threadprofiling is enabled, this pointer is allocated to contain internal information about the thread state for profiling purposes.
25+
void *profilerBlock; // If --threadprofiler is enabled, this pointer is allocated to contain internal information about the thread state for profiling purposes.
2626
#endif
2727

2828
struct pthread *self;

0 commit comments

Comments
 (0)