Comments (1)
so i start a single thread
lws is single-threaded. You cannot randomly call lws apis for a context with an event loop in one thread, from any other thread.
Have a read of this:
https://libwebsockets.org/git/libwebsockets/tree/READMEs/README.event-loops-intro.md
from libwebsockets.
Related Issues (20)
- feature request: reserved bits extension or callback? HOT 6
- feature request: make ws extensions default on
- Unused variable date compile error when building with LWS_WITH_NO_LOGS HOT 1
- feature request: extension allow use rsv and opcode HOT 2
- What does return value of lws_service mean? HOT 3
- duplicate `LWS_CALLBACK_RAW_CONNECTED` event in raw-client HOT 1
- `lws_get_library_version` return `4.3.3-unknown` HOT 1
- AES function is misdocumented as RSA function HOT 3
- compression HOT 7
- feature request: support SSLKEYLOGFILE for openssl HOT 2
- delayed in LWS_CALLBACK_CLIENT_CLOSED from libwebsocket HOT 4
- How to change the timeout of http/1.1 keepalive? HOT 2
- Bus error core dumped HOT 2
- feature request: load event lib from related "../lib" for CLion HOT 1
- Add support for HTTP Basic Authentication password which may contain random bytes including null-chars. HOT 1
- libwebsockets build error
- chunking failure F HOT 12
- error when call lws_client_connect_via_info ()? HOT 6
- Connection error moving from version 4.1.6-3 to version 4.3.2-4 HOT 2
- NULL pointer exception, version v4.3 stable HOT 18
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libwebsockets.