virtual ExitCode Entry()
{
+ wxUnusedVar(m_i);
+
//wxPrintf(wxT("%s: Thread #%d (%ld) starting to wait for semaphore...\n"),
// wxDateTime::Now().FormatTime().c_str(), m_i, (long)GetId());
threads[n] = new MyDetachedThread(10, 'A' + n);
}
- threads[0]->SetPriority(WXTHREAD_MIN_PRIORITY);
- threads[1]->SetPriority(WXTHREAD_MAX_PRIORITY);
+ threads[0]->SetPriority(wxPRIORITY_MIN);
+ threads[1]->SetPriority(wxPRIORITY_MAX);
for ( n = 0; n < nThreads; n++ )
{