gPTP Documentation
|
#include <avbts_osthread.hpp>
Public Member Functions | |
virtual bool | start (OSThreadFunction function, void *arg)=0 |
Starts a new thread. More... | |
virtual bool | join (OSThreadExitCode &exit_code)=0 |
Joins the thread. More... | |
Provides a generic interface for threads
|
pure virtual |
Joins the thread.
exit_code | OSThreadExitCode enumeration |
Implemented in WindowsThread, and LinuxThread.
|
pure virtual |
Starts a new thread.
function | Callback to be started on the thread |
arg | Function arguments |
Implemented in WindowsThread, and LinuxThread.