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);
29
29
// Returns the number of logical cores on the system.
30
30
int emscripten_num_logical_cores (void );
31
31
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
-
39
32
// If the given memory address contains value val, puts the calling thread to
40
33
// sleep waiting for that address to be notified.
41
34
// 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; }
21
21
22
22
int emscripten_num_logical_cores () { return 1 ; }
23
23
24
- void emscripten_force_num_logical_cores (int cores ) {
25
- // no-op, in singlethreaded builds we will always report exactly one core.
26
- }
27
-
28
24
int emscripten_futex_wait (
29
25
volatile void /*uint32_t*/ * addr , uint32_t val , double maxWaitMilliseconds ) {
30
26
// nop
You can’t perform that action at this time.
0 commit comments