added the ignore_if_unhandled parameter to App::neglectsignal().

added App::logfmt() and App::logfmtv()
added QSE::TcpServerFD<F,D> and  QSE::ThreadFD<F,D>
This commit is contained in:
2019-06-11 09:10:09 +00:00
parent 9a0f2e15b8
commit f95e9d36cf
8 changed files with 212 additions and 14 deletions

View File

@ -61,6 +61,12 @@ public:
}
};
class FunctorWithI: public Functor
{
public:
FunctorWithI (int* x) {}
};
static int func_ptr (QSE::Thread* thr)
{
int i = 0;
@ -185,6 +191,12 @@ static int test1 (void)
return -1;
}
{
int t = 20;
QSE::ThreadFD<FunctorWithI, int*> thr7 (&t);
// just keep this here to see if QSE::ThreadFD<> can be instantiated syntatically
}
while (!g_stopreq)
{
if (thr1.getState() == QSE::Thread::TERMINATED &&