Back to index

nux  3.0.0
Public Member Functions | Public Attributes
nux::NThread::NThreadContext Class Reference

Info: Thread Context Inner Class. More...

List of all members.

Public Member Functions

 NThreadContext ()

Public Attributes

pthread_attr_t m_ThreadAttribute
pthread_t m_dwTID
void * m_pUserData
void * m_pParent
unsigned int m_dwExitCode

Detailed Description

Info: Thread Context Inner Class.

   Every thread object needs to be associated with a set of values.
   like UserData Pointer, Handle, Thread ID etc.

   NOTE: This class can be enhanced to varying functionalities
   eg.,

Members to hold StackSize SECURITY_ATTRIBUTES member.

Definition at line 455 of file ThreadGNU.h.


Constructor & Destructor Documentation

Definition at line 458 of file ThreadGNU.h.

        : m_pUserData (NULL)
        , m_pParent (NULL)
        , m_dwExitCode (0)
      {
        memset (&m_ThreadAttribute, 0, sizeof (m_ThreadAttribute));
        memset (&m_dwTID, 0, sizeof (m_dwTID));
      }

Member Data Documentation

Definition at line 475 of file ThreadGNU.h.

Definition at line 472 of file ThreadGNU.h.

Definition at line 474 of file ThreadGNU.h.

Definition at line 473 of file ThreadGNU.h.

Definition at line 471 of file ThreadGNU.h.


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