newspeoplefor developersdocumentationdownloads

Threading Support
[Nebula Kernel]


Detailed Description

Nebula provides basic support for threading along with integration into some of the Core Nebula systems.

The support Nebula2 provides for threading is wrapper classes for multithreading.

The way Nebula2 supports threading for each platform are:

  • Windows : win32 threading routines
  • Linux : POSIX threads

Nebula2 uses threading only when it is needed. It is used for these tasks at this moment:

  • blocking socket routines
  • background loading of resources

Threading is likely to become more important in the future as the use multi-core CPU increases.


Classes

class  nEvent
 Event wrapper for multithreading synchronization. More...
class  nMutex
 Implements a simple mutex object for thread synchronization. Win32: win32 mutex handles (CreateMutex()) Linux: posix thread mutexes. More...
class  nThread
 A thread wrapper class for Nebula. More...
class  nThreadSafeArray< TYPE >
 A thread safe array dynamic array template class. More...
class  nThreadSafeList
 A thread safe doubly linked list. More...

Copyright © 1999-2005 by the contributing authors. Ideas, requests, problems: Send feedback.