diff options
Diffstat (limited to 'daemons/gptp/common/avbts_osthread.hpp')
-rw-r--r-- | daemons/gptp/common/avbts_osthread.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/daemons/gptp/common/avbts_osthread.hpp b/daemons/gptp/common/avbts_osthread.hpp index 67bd49c4..c9c069d0 100644 --- a/daemons/gptp/common/avbts_osthread.hpp +++ b/daemons/gptp/common/avbts_osthread.hpp @@ -62,6 +62,13 @@ public: virtual bool start(OSThreadFunction function, void *arg) = 0; /** + * @brief Name a new thread + * @param name The name to give to the calling thread + * @return void + */ + virtual void setName(const char *name) = 0; + + /** * @brief Joins the thread * @param exit_code OSThreadExitCode enumeration * @return Implementation specific |