Skip to content

Add an option to set the pthread pool size at startup #10231

@kripken

Description

@kripken

Currently PTHREAD_POOL_SIZE is fixed at compile time, but this is of limited use since the running code may know better how many threads are actually needed (say, based on navigator.hardwareConcurrency), so we should make it configurable. Perhaps Module.pthreadPoolSize?

(see https://twitter.com/prestomation/status/1218276548739944448)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions