added: a virtual dctor() for BaseThread class

git-svn-id: svn://ttmath.org/publicrep/winix/trunk@1080 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
Tomasz Sowa 2018-04-16 22:44:59 +00:00
parent 7b4a17c934
commit a5dfc9974f
3 changed files with 9 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -5,7 +5,7 @@
*/
/*
* Copyright (c) 2010-2014, Tomasz Sowa
* Copyright (c) 2010-2018, Tomasz Sowa
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -49,6 +49,11 @@ BaseThread::BaseThread() : thread_signal(PTHREAD_COND_INITIALIZER)
}
BaseThread::~BaseThread()
{
}
void BaseThread::SetSynchro(Synchro * psynchro)
{

View File

@ -5,7 +5,7 @@
*/
/*
* Copyright (c) 2010-2014, Tomasz Sowa
* Copyright (c) 2010-2018, Tomasz Sowa
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -50,6 +50,7 @@ class BaseThread
public:
BaseThread();
virtual ~BaseThread();
// synchro object (must be set)
void SetSynchro(Synchro * psynchro);