emscripten-core / emscripten-core/emscripten

How to use posix threads?

Open
#24,759 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

Hi there, FastLED core dev here.

I wanted to bring this up in a bug report because it seems that there is a lack of information about how to bring up posix threads as detailed here:

https://emscripten.org/docs/porting/networking.html#full-posix-sockets-over-websocket-proxy-server

In this document it shows thatt there is a program here:

https://github.com/emscripten-core/emscripten/blob/main/tools/websocket_to_posix_proxy/src/main.cpp

May I assume that my task is to download and compile this main program into my code base?

What other settings are necessary for this to run? There's a lot of missing information. Yes I put AI on it and it couldn't figure it out either. Are there examples that show how to integrate this? I'm sure I'm doing it wrong.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.