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

ThreadWeaver

ThreadWeaver::SuspendedState

ThreadWeaver::SuspendedState Class Reference

#include <SuspendedState.h>

Inheritance diagram for ThreadWeaver::SuspendedState:

Inheritance graph
[legend]

List of all members.


Detailed Description

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

All thread remains blocked.

Definition at line 43 of file SuspendedState.h.


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)

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
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
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