Commit Graph

5 Commits (d2118aeb17309efa3d5f2bec12b0c845e5b15a94)

Author SHA1 Message Date
Roger A. Light e8185ddaa7 [166] Don't cancel external threads.
libmosquitto shouldn't cancel threads it didn't create. This change
allows us to keep track of whether threads were created by the library
or by external code.

Thanks to Josip Ćavar.

Bug: https://github.com/eclipse/mosquitto/issues/166
10 years ago
Roger A. Light caa394d0fe Return value of pthread_create is now checked. 10 years ago
Roger A. Light a330c5ca17 [471334] Fix incorrect loop timeout with keepalive=0.
Fix incorrect loop timeout being chosen when using the threaded
interface and keepalive = 0.

Thanks to Gianfranco Costamagna.

Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=471334
10 years ago
Roger A. Light 5c7512b8ba Add mosquitto_threaded_set(). 11 years ago
Roger Light 0364bd1be7 Initial contribution. 12 years ago