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

ThreadWeaver

ThreadWeaver::SuspendingState

ThreadWeaver::SuspendingState Class Reference

SuspendingState is the state after suspend() has been called, but before all threads finished executing the current job and blocked. More...

#include <SuspendingState.h>

Inheritance diagram for ThreadWeaver::SuspendingState:
ThreadWeaver::StateImplementation ThreadWeaver::State

List of all members.

Public Member Functions

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

Detailed Description

SuspendingState is the state after suspend() has been called, but before all threads finished executing the current job and blocked.

Definition at line 44 of file SuspendingState.h.


Constructor & Destructor Documentation

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

Definition at line 47 of file SuspendingState.h.


Member Function Documentation

void SuspendingState::activated (  )  [virtual]

Overload.

Reimplemented from ThreadWeaver::State.

Definition at line 48 of file SuspendingState.cpp.

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

Assign a job to an idle thread.

Implements ThreadWeaver::State.

Definition at line 56 of file SuspendingState.cpp.

void SuspendingState::resume (  )  [virtual]

Resume job processing.

Implements ThreadWeaver::State.

Definition at line 43 of file SuspendingState.cpp.

StateId SuspendingState::stateId (  )  const [virtual]

reimpl

Implements ThreadWeaver::State.

Definition at line 71 of file SuspendingState.cpp.

void SuspendingState::suspend (  )  [virtual]

Suspend job processing.

Implements ThreadWeaver::State.

Definition at line 37 of file SuspendingState.cpp.

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

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

Implements ThreadWeaver::State.

Definition at line 66 of file SuspendingState.cpp.


The documentation for this class was generated from the following files:
  • SuspendingState.h
  • SuspendingState.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
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
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