Bpp/Standard
Thread
C++
 
 
DESCRIPTION
 

This module provides facilities to manipulate threads.

 
SOURCE FILES
 

This section allows you to access the C++ source files of the module.

 
PARENT MODULE
 

This module is part of Bpp/Standard.

 
INCLUDED FILES
 

The files listed below are included in the interface part of the module. So any module dependent of this module is also dependent of the files listed here.

  • <cstdlib>

  • <vector>

  • <bpp/standard/keyword.hpp>

  • SUSPEND_HEADER

  • THREAD_HEADER

  • THREAD_ALLOCATOR_HEADER

  • <unistd.h>

 
INTEGRATED NAMESPACES
 

The namespaces listed below are integrated in this module. That means any element declared in one of those namespaces can now be directly used by or from this module.

  • standardKeyword

 
TYPES
 

Here are listed the types defined in the module. To use one of them, you have to specify the namespace of the module.

  • type THREAD_TYPE tyThread
    Thread.

 
ERRORS
 

Here are listed the errors that are supported or generated by the module. To use one of them, you do not have to specify the namespace of the module.

  • erCreateThread
    Can not create a new thread.

  • erMutexNotAvailable
    The mutex facility is not available.

  • erMutexUnlocked
    The mutex is unlocked.

 
FUNCTIONS
 

Here are listed the functions provided by the module. To use one of them, you have to specify the namespace of the module.

 
CLASSES
 

Here are listed the classes provided by the module. To use one of them, you have to specify the namespace of the module.

 
clMutex
 
 
Declaration

class clMutex

 
Description

Represents a mutex (mutual exclusion for threads). It is used to lock the use of a resource from other threads.

 
Methods
 
clInitializerMutex
 
 
Declaration

class clInitializerMutex : public clMutex

 
Description

Represents a mutex that protects the initialization of a variable.

 
Methods
 
 
Copyright (c) 1999-2016 - Bruno Bachelet - bruno@nawouak.net - http://www.nawouak.net
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation. See this license for more details (http://www.gnu.org).