emscripten-core/emscripten

Develop a fully multithreaded C runtime for pthreads.

Open

#3.495 aberto em 3 de jun. de 2015

Ver no GitHub
 (23 comments) (0 reactions) (0 assignees)C++ (3.519 forks)batch import
help wantedmultithreading

Métricas do repositório

Stars
 (27.361 stars)
Métricas de merge de PR
 (Mesclagem média 19d 10h) (147 fundiu PRs em 30d)

Description

Several functions in the C runtime are currently effectively singlethreaded, because they carry global process specific state in JS code that can't be thread local. Therefore calls to these runtime functions from pthreads are proxied to the main thread. Migrating to use more musl can avoid this issue. Also, investigate creating a fully asm.js -based virtual filesystem to be used when targeting pthreads, so that C file I/O can be naturally multithreaded as well.

Guia do colaborador