| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
TeThreadSignal Class Reference
Multi-programming tools.

A class to deal with thread signals. More...

`#include <TeThreadSignal.h>`

List of all members.

## Public Member Functions

| TeThreadSignal ()
| Default constructor.
| ~TeThreadSignal ()
| Default destructor.
void | emitSignal ()
| Emit a broadcast signal unblocking all waiting threads.
bool | waitSignal (unsigned int waiting_time=0)
| Block the current thread waiting for a signal.

## Detailed Description

A class to deal with thread signals.

Author:
  Emiliano F. Castejon <castejon@dpi.inpe.br>

## Constructor & Destructor Documentation

TeThreadSignal::TeThreadSignal | ( |  | ) |

Default constructor.

TeThreadSignal::~TeThreadSignal | ( |  | ) |

Default destructor.

## Member Function Documentation

void TeThreadSignal::emitSignal | ( |  | ) |

Emit a broadcast signal unblocking all waiting threads.

bool TeThreadSignal::waitSignal | ( | unsigned int | waiting_time = `0` | ) |

Block the current thread waiting for a signal.

Parameters:

  waiting_time | The maximim waiting time in milliseconds ( 0 == INFINITE ).

Returns:
  true if a signal was received, false if the waiting time has finished or an error occurred.

The documentation for this class was generated from the following files:

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeThreadSignal.h
- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeThreadSignal.cpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines