Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


Methods of Class Thread


Thread
Thread(
const Thread & );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO


operator=
Thread & operator=(
const Thread & );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO


Thread
Thread();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO


~Thread
virtual ~Thread();

virtual abstract const volatile template static inline C-linkage
YES NO NO NO NO NO YES NO


create
sal_Bool create();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO


createSuspended
sal_Bool createSuspended();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO


suspend
virtual void suspend();

virtual abstract const volatile template static inline C-linkage
YES NO NO NO NO NO YES NO


resume
virtual void resume();

virtual abstract const volatile template static inline C-linkage
YES NO NO NO NO NO YES NO


terminate
virtual void terminate();

virtual abstract const volatile template static inline C-linkage
YES NO NO NO NO NO YES NO


join
virtual void join();

virtual abstract const volatile template static inline C-linkage
YES NO NO NO NO NO YES NO


isRunning
sal_Bool isRunning();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO


setPriority
void setPriority(
oslThreadPriority Priority );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO


getPriority
oslThreadPriority getPriority();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO


getIdentifier
oslThreadIdentifier getIdentifier();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO


schedule
virtual sal_Bool schedule();

virtual abstract const volatile template static inline C-linkage
YES NO NO NO NO NO YES NO


operator oslThread
operator oslThread();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO


run
virtual void run() = 0;

virtual abstract const volatile template static inline C-linkage
YES YES NO NO NO NO NO NO

Summary
The thread functions calls the protected functions run and onTerminated.

onTerminated
virtual void onTerminated();

virtual abstract const volatile template static inline C-linkage
YES NO NO NO NO NO YES NO


operator new
static void * operator new(
size_t nSize ) throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO YES YES NO


operator delete
static void operator delete(
void * pMem ) throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO YES YES NO


operator new
static void * operator new(
size_t ,
void * pMem ) throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO YES YES NO


operator delete
static void operator delete(
void * ,
void * ) throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO YES YES NO


getCurrentIdentifier
static oslThreadIdentifier getCurrentIdentifier();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO YES YES NO


wait
static void wait(
const TimeValue & Delay );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO YES YES NO


yield
static void yield();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO YES YES NO


setName
static void setName(
const char * name ) throw();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO YES YES NO


Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.