Skip to content

Trim out more System.Threading classes in Blazor sample #44528

@CoffeeFlux

Description

@CoffeeFlux

WebAssembly does not have proper threading, and so classes like ThreadPool are always single-threaded and offer no benefit. They appear to be used in libraries and are present even in the linked Corelib, but it should be possible to get them linked out and save some space. These classes hold a surprising amount of code, including things like GCMemoryInfo that aren't even in System.Threading.

Metadata

Metadata

Assignees

Labels

arch-wasmWebAssembly architecturearea-System.Threadingsize-reductionIssues impacting final app size primary for size sensitive workloads

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions