gPTP Documentation
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
WindowsThread Class Reference

#include <windows_hal.hpp>

Inheritance diagram for WindowsThread:
Inheritance graph
Collaboration diagram for WindowsThread:
Collaboration graph

Public Member Functions

virtual bool start (OSThreadFunction function, void *arg)
 Starts a new thread. More...
 
virtual bool join (OSThreadExitCode &exit_code)
 Joins a terminated thread. More...
 

Protected Member Functions

 WindowsThread ()
 

Friends

class WindowsThreadFactory
 

Detailed Description

Implements OSThread interface for windows

Constructor & Destructor Documentation

WindowsThread::WindowsThread ( )
inlineprotected

Default constructor

Member Function Documentation

virtual bool WindowsThread::join ( OSThreadExitCode exit_code)
inlinevirtual

Joins a terminated thread.

Parameters
exit_code[out] Thread's return code
Returns
TRUE in case of success. FALSE otherwise.

Implements OSThread.

virtual bool WindowsThread::start ( OSThreadFunction  function,
void *  arg 
)
inlinevirtual

Starts a new thread.

Parameters
functionFunction to be started as a new thread
arg[in] Function's arguments
Returns
TRUE if successfully started, FALSE otherwise.

Implements OSThread.


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