diff options
Diffstat (limited to 'daemons/gptp/linux/src/linux_hal_common.hpp')
-rw-r--r-- | daemons/gptp/linux/src/linux_hal_common.hpp | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/daemons/gptp/linux/src/linux_hal_common.hpp b/daemons/gptp/linux/src/linux_hal_common.hpp index 4c306929..df0aa75e 100644 --- a/daemons/gptp/linux/src/linux_hal_common.hpp +++ b/daemons/gptp/linux/src/linux_hal_common.hpp @@ -180,16 +180,17 @@ public: ( LinkLayerAddress *addr, uint8_t *payload, size_t &length, struct phy_delay *delay ); /** - * @brief Disables rx socket descriptor and and clears the rx queue - * @return void + * @brief Disables rx socket descriptor + * @return void */ - void disable_clear_rx_queue(); + void disable_rx_queue(); /** - * @brief Enables the rx socket descriptor + * @brief Enables the rx socket descriptor and clears the rx + * queue * @return void */ - void reenable_rx_queue(); + void clear_reenable_rx_queue(); /** * @brief Gets the local link layer address @@ -533,6 +534,13 @@ class LinuxThread : public OSThread { virtual bool start(OSThreadFunction function, void *arg); /** + * @brief Name a new thread + * @param name The name to give to the calling thread + * @return void + */ + virtual void setName(const char *name); + + /** * @brief Joins a new thread * @param exit_code Callback's return code * @return TRUE if ok, FALSE if error. |