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:
@ -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 &&
|
||||
|
Reference in New Issue
Block a user