• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.10.5 API Reference
  • KDE Home
  • Contact Us
 

ThreadWeaver

  • ThreadWeaver
  • SuspendingState
Public Member Functions
ThreadWeaver::SuspendingState Class Reference

#include <SuspendingState.h>

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

List of all members.

Public Member Functions

 SuspendingState (WeaverImpl *weaver)
void activated ()
virtual Job * applyForWork (Thread *th, Job *previous)
virtual void resume ()
StateId stateId () const
virtual void suspend ()
virtual void waitForAvailableJob (Thread *th)
- Public Member Functions inherited from ThreadWeaver::StateImplementation
 StateImplementation (WeaverInterface *weaver)
- Public Member Functions inherited from ThreadWeaver::State
 State (WeaverInterface *weaver)
virtual ~State ()
QString stateName () const

Additional Inherited Members

- Protected Member Functions inherited from ThreadWeaver::StateImplementation
WeaverImpl * weaver ()

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)
inlineexplicit

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
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Jul 23 2013 20:32:03 by doxygen 1.8.1.1 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

ThreadWeaver

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

kdelibs-4.10.5 API Reference

Skip menu "kdelibs-4.10.5 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal