webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | Protected Member Functions | List of all members
WTF::ParallelHelperPool::Thread Class Reference
Inheritance diagram for WTF::ParallelHelperPool::Thread:
WTF::AutomaticThread WTF::ThreadSafeRefCounted< AutomaticThread > WTF::ThreadSafeRefCounted< AutomaticThread > WTF::ThreadSafeRefCounted< AutomaticThread > WTF::ThreadSafeRefCountedBase WTF::ThreadSafeRefCountedBase WTF::ThreadSafeRefCountedBase WTF::ThreadSafeRefCountedBase WTF::ThreadSafeRefCountedBase WTF::ThreadSafeRefCountedBase WTF::ThreadSafeRefCountedBase WTF::ThreadSafeRefCountedBase WTF::ThreadSafeRefCountedBase

Public Member Functions

 Thread (const AbstractLocker &locker, ParallelHelperPool &pool)
 
- Public Member Functions inherited from WTF::AutomaticThread
virtual ~AutomaticThread ()
 
bool hasUnderlyingThread (const AbstractLocker &) const
 
bool tryStop (const AbstractLocker &)
 
bool isWaiting (const AbstractLocker &)
 
bool notify (const AbstractLocker &)
 
void join ()
 
virtual ~AutomaticThread ()
 
bool hasUnderlyingThread (const AbstractLocker &) const
 
bool tryStop (const AbstractLocker &)
 
bool isWaiting (const AbstractLocker &)
 
bool notify (const AbstractLocker &)
 
void join ()
 
virtual ~AutomaticThread ()
 
bool hasUnderlyingThread (const AbstractLocker &) const
 
bool tryStop (const AbstractLocker &)
 
bool isWaiting (const AbstractLocker &)
 
bool notify (const AbstractLocker &)
 
void join ()
 
- Public Member Functions inherited from WTF::ThreadSafeRefCounted< AutomaticThread >
void deref () const
 
void deref () const
 
void deref () const
 
- Public Member Functions inherited from WTF::ThreadSafeRefCountedBase
 ThreadSafeRefCountedBase ()=default
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
 ThreadSafeRefCountedBase ()=default
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
 ThreadSafeRefCountedBase ()=default
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 

Protected Member Functions

PollResult poll (const AbstractLocker &locker) override
 
WorkResult work () override
 
- Protected Member Functions inherited from WTF::AutomaticThread
 AutomaticThread (const AbstractLocker &, Box< Lock >, RefPtr< AutomaticThreadCondition >)
 
virtual void threadDidStart ()
 
virtual void threadIsStopping (const AbstractLocker &)
 
 AutomaticThread (const AbstractLocker &, Box< Lock >, RefPtr< AutomaticThreadCondition >)
 
virtual void threadDidStart ()
 
virtual void threadIsStopping (const AbstractLocker &)
 
 AutomaticThread (const AbstractLocker &, Box< Lock >, RefPtr< AutomaticThreadCondition >)
 
virtual void threadDidStart ()
 
virtual void threadIsStopping (const AbstractLocker &)
 
- Protected Member Functions inherited from WTF::ThreadSafeRefCounted< AutomaticThread >
 ThreadSafeRefCounted ()=default
 
 ThreadSafeRefCounted ()=default
 
 ThreadSafeRefCounted ()=default
 
- Protected Member Functions inherited from WTF::ThreadSafeRefCountedBase
bool derefBase () const
 
bool derefBase () const
 
bool derefBase () const
 

Additional Inherited Members

- Protected Types inherited from WTF::AutomaticThread
enum  PollResult {
  PollResult::Work, PollResult::Stop, PollResult::Wait, PollResult::Work,
  PollResult::Stop, PollResult::Wait, PollResult::Work, PollResult::Stop,
  PollResult::Wait
}
 
enum  WorkResult {
  WorkResult::Continue, WorkResult::Stop, WorkResult::Continue, WorkResult::Stop,
  WorkResult::Continue, WorkResult::Stop
}
 
enum  PollResult {
  PollResult::Work, PollResult::Stop, PollResult::Wait, PollResult::Work,
  PollResult::Stop, PollResult::Wait, PollResult::Work, PollResult::Stop,
  PollResult::Wait
}
 
enum  WorkResult {
  WorkResult::Continue, WorkResult::Stop, WorkResult::Continue, WorkResult::Stop,
  WorkResult::Continue, WorkResult::Stop
}
 
enum  PollResult {
  PollResult::Work, PollResult::Stop, PollResult::Wait, PollResult::Work,
  PollResult::Stop, PollResult::Wait, PollResult::Work, PollResult::Stop,
  PollResult::Wait
}
 
enum  WorkResult {
  WorkResult::Continue, WorkResult::Stop, WorkResult::Continue, WorkResult::Stop,
  WorkResult::Continue, WorkResult::Stop
}
 

Constructor & Destructor Documentation

◆ Thread()

WTF::ParallelHelperPool::Thread::Thread ( const AbstractLocker locker,
ParallelHelperPool pool 
)
inline

Member Function Documentation

◆ poll()

PollResult WTF::ParallelHelperPool::Thread::poll ( const AbstractLocker locker)
inlineoverrideprotectedvirtual

Implements WTF::AutomaticThread.

◆ work()

WorkResult WTF::ParallelHelperPool::Thread::work ( )
inlineoverrideprotectedvirtual

Implements WTF::AutomaticThread.


The documentation for this class was generated from the following file: