| Summary: | [Patch] Enable pthread support for Emscripten | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Caleb Cornett <spydog> |
| Component: | thread | Assignee: | Ryan C. Gordon <icculus> |
| Status: | ASSIGNED --- | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | Keywords: | target-2.0.16 |
| Version: | 2.0.13 | ||
| Hardware: | x86 | ||
| OS: | Other | ||
| Attachments: | Emscripten pthread patch | ||
Created attachment 4437 [details] Emscripten pthread patch This patch enables building SDL2 for Emscripten with pthread support. This allows the SDL_Thread API to work in the browser, for recent versions of Chrome and Firefox. Of course, threading support is still totally optional and can be disabled by passing --disable-threads to the configure script.