aboutsummaryrefslogtreecommitdiff
path: root/src/core/device.h
Commit message (Collapse)AuthorAge
* fix includes for coreGarrett D'Amore2025-10-11
|
* Introduce nng_device_aio().Garrett D'Amore2021-12-27
| | | | | | This function is like nng_device(), but runs asynchronously. Also, this fixes #1503 nng_device causes nng_close to blocking
* Add device support & testing. Bus semantic fix.Garrett D'Amore2017-01-27
This adds nn_device and nng_device. There were some internal changes required to fix shutdown / close issues. Note that we shut down the sockets when exiting from device -- this is required to make both threads see the failure and bail, since we are not using a single event loop. I also noticed that the bus protocol had a bug where it would send messages back to the originator. This was specifically tested for in the compat_device test, and we have fixed it.