• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

ThreadWeaver

ThreadWeaver::SuspendedState

ThreadWeaver::SuspendedState Class Reference

In SuspendedState, jobs are queued, but will not be executed. More...

#include <SuspendedState.h>

Inheritance diagram for ThreadWeaver::SuspendedState:

Inheritance graph
[legend]

List of all members.


Public Member Functions

virtual Job * applyForWork (Thread *th, Job *previous)
virtual void resume ()
StateId stateId () const
virtual void suspend ()
 SuspendedState (WeaverImpl *weaver)
virtual void waitForAvailableJob (Thread *th)

Detailed Description

In SuspendedState, jobs are queued, but will not be executed.

All thread remains blocked.

Definition at line 43 of file SuspendedState.h.


Constructor & Destructor Documentation

ThreadWeaver::SuspendedState::SuspendedState ( WeaverImpl *  weaver  )  [inline, explicit]

Definition at line 46 of file SuspendedState.h.


Member Function Documentation

Job * SuspendedState::applyForWork ( Thread *  th,
Job *  previous 
) [virtual]

Assign a job to an idle thread.

Implements ThreadWeaver::State.

Definition at line 46 of file SuspendedState.cpp.

void SuspendedState::resume (  )  [virtual]

Resume job processing.

Implements ThreadWeaver::State.

Definition at line 41 of file SuspendedState.cpp.

StateId SuspendedState::stateId (  )  const [virtual]

reimpl

Implements ThreadWeaver::State.

Definition at line 57 of file SuspendedState.cpp.

void SuspendedState::suspend (  )  [virtual]

Suspend job processing.

Implements ThreadWeaver::State.

Definition at line 36 of file SuspendedState.cpp.

void SuspendedState::waitForAvailableJob ( Thread *  th  )  [virtual]

Wait (by suspending the calling thread) until a job becomes available.

Implements ThreadWeaver::State.

Definition at line 52 of file SuspendedState.cpp.


The documentation for this class was generated from the following files:
  • SuspendedState.h
  • SuspendedState.cpp

ThreadWeaver

Skip menu "ThreadWeaver"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal