• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/unix/

Lines Matching refs:wxThread

3 // Purpose:     wxThread (Posix) Implementation
82 static const wxThread::ExitCode EXITCODE_CANCELLED = (wxThread::ExitCode)-1;
84 // trace mask for wxThread operations
95 static void DeleteThread(wxThread *This);
102 WX_DEFINE_ARRAY_PTR(wxThread *, wxArrayThread);
121 // the key for the pointer to the associated wxThread object
509 wxThread::GetCurrentId());
516 wxThread::GetCurrentId(), (unsigned long)m_count);
583 wxThread::GetCurrentId(), (unsigned long)m_count);
590 // wxThread implementation
617 static void *PthreadStart(wxThread *thread);
661 void SetExitCode(wxThread::ExitCode exitcode) { m_exitcode = exitcode; }
662 wxThread::ExitCode GetExitCode() const { return m_exitcode; }
679 static void Cleanup(wxThread *thread);
695 wxThread::ExitCode m_exitcode;
718 return wxThreadInternal::PthreadStart((wxThread *)ptr);
721 void *wxThreadInternal::PthreadStart(wxThread *thread)
728 // wxThread::This() will work
811 wxFAIL_MSG(wxT("wxThread::Exit() can't return."));
822 wxThreadInternal::Cleanup((wxThread *)ptr);
825 void wxThreadInternal::Cleanup(wxThread *thread)
886 if ( wxThread::IsMain() )
918 if ( wxThread::IsMain() )
927 wxT("thread must first be paused with wxThread::Pause().") );
964 // wxThread static functions
967 wxThread *wxThread::This()
969 return (wxThread *)pthread_getspecific(gs_keySelf);
972 bool wxThread::IsMain()
977 void wxThread::Yield()
984 void wxThread::Sleep(unsigned long milliseconds)
989 int wxThread::GetCPUCount()
1033 unsigned long long wxThread::GetCurrentId()
1040 unsigned long wxThread::GetCurrentId()
1048 bool wxThread::SetConcurrency(size_t level)
1068 wxThread::wxThread(wxThreadKind kind)
1088 wxThreadError wxThread::Create(unsigned int WXUNUSED_STACKSIZE(stackSize))
1206 wxThreadError wxThread::Run()
1211 wxT("must call wxThread::Create() first") );
1220 void wxThread::SetPriority(unsigned int prio)
1276 unsigned int wxThread::GetPriority() const
1283 wxThreadIdType wxThread::GetId() const
1292 wxThreadError wxThread::Pause()
1313 wxThreadError wxThread::Resume()
1348 wxThread::ExitCode wxThread::Wait()
1361 wxThreadError wxThread::Delete(ExitCode *rc)
1414 wxThreadError wxThread::Kill()
1465 void wxThread::Exit(ExitCode status)
1468 _T("wxThread::Exit() can only be called in the context of the same thread") );
1511 bool wxThread::TestDestroy()
1514 _T("wxThread::TestDestroy() can only be called in the context of the same thread") );
1538 wxThread::~wxThread()
1568 bool wxThread::IsRunning() const
1575 bool wxThread::IsAlive() const
1590 bool wxThread::IsPaused() const
1638 wxASSERT_MSG( wxThread::IsMain(), wxT("only main thread can be here") );
1707 static void DeleteThread(wxThread *This)