mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-16 08:56:51 +01:00
BugFix: Termination by ctl + C
Update: API mode is configurable Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
@@ -511,7 +511,7 @@ void Thread::stopProcess(void)
|
||||
_stopProcessEvent->post();
|
||||
}
|
||||
|
||||
void Thread::testThreadCancel(void)
|
||||
void Thread::cancel(void)
|
||||
{
|
||||
pthread_testcancel();
|
||||
pthread_cancel(_threadID);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user