BugFix: stop Process mechanism of ProcessFramework.

Update: DISCONNECT procedure for NonActive clients.

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
tomoaki
2016-10-04 11:17:46 +09:00
parent 93df7db12e
commit 63d2824444
21 changed files with 338 additions and 239 deletions

View File

@@ -39,9 +39,10 @@ void TestTask::run(void)
{
while(true)
{
if (theProcess->checkSignal() == SIGINT)
if ( CHK_SIGINT)
{
throw Exception("Terminated by CTL-C");
printf("Task stopped.\n");
return;
}
printf("Task is running. Enter CTRL+C\n");
sleep(1);