Comments (1)
I've had segfaults when trying to run loop_start() and then accessing objects in my callbacks as well as in my main thread. It doesn't seem to be anything unexpected. You need to be careful with your thread access. If you switched to a different library and language, I presume a lot more changed too, and you simply don't have the access problems anymore.
from lua-mosquitto.
Related Issues (16)
- Lua 5.2 support HOT 2
- Create new version tag v0.2 HOT 6
- Add luarocks support HOT 2
- Callbacks occur in same coroutine that mqtt.new is called from HOT 6
- Callbacks are called from other threads HOT 4
- Callbacks need to be longjmp safe HOT 5
- mqtt5 support API design? HOT 1
- SEO; add mqtt to description HOT 4
- reconnect_async missing HOT 1
- create release tag HOT 1
- rockspec for Lua 5.3: LUA_COMPAT_APIINTCASTS HOT 5
- Usage of luaL_checkint HOT 2
- loop() throws "A network protocol error occurred when communicating with the broker" on disconnect
- valgrind leak HOT 9
- cpu hog on teardown? pthread_join HOT 1
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 lua-mosquitto.