File tree Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -29,13 +29,6 @@ int emscripten_has_threading_support(void);
2929// Returns the number of logical cores on the system.
3030int emscripten_num_logical_cores (void );
3131
32- // Configures the number of logical cores on the system. This can be called at
33- // startup to specify the number of cores emscripten_num_logical_cores()
34- // reports. The Emscripten system itself does not use this value internally
35- // anywhere, it is just a hint to help developers have a single access point
36- // 'emscripten_num_logical_cores()' to query the number of cores in the system.
37- void emscripten_force_num_logical_cores (int cores );
38-
3932// If the given memory address contains value val, puts the calling thread to
4033// sleep waiting for that address to be notified.
4134// Returns -EINVAL if addr is null.
Original file line number Diff line number Diff line change @@ -21,10 +21,6 @@ int emscripten_has_threading_support() { return 0; }
2121
2222int emscripten_num_logical_cores () { return 1 ; }
2323
24- void emscripten_force_num_logical_cores (int cores ) {
25- // no-op, in singlethreaded builds we will always report exactly one core.
26- }
27-
2824int emscripten_futex_wait (
2925 volatile void /*uint32_t*/ * addr , uint32_t val , double maxWaitMilliseconds ) {
3026 // nop
You can’t perform that action at this time.
0 commit comments