Skip to content

Commit

Permalink
Update Doxygen comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nschlia committed Aug 7, 2024
1 parent 01610b9 commit e15605e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/thread_pool.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
class thread_pool
{
public:
typedef std::function<int(void)> FunctionPointer;
typedef std::function<int(void)> FunctionPointer; /**< @brief Pointer to thread pool function */

public:
/**
Expand All @@ -81,9 +81,8 @@ class thread_pool
void tear_down(bool silent = false);
/**
* @brief Schedule a new thread from pool.
* @param[in] thread_func - Thread function to start.
* @param[in] opaque - Parameter passed to thread function.
* @return Returns true if thread was successfully scheduled, fals if not.
* @param[in] func - std::function object to call
* @return Returns true if thread was successfully scheduled, false if not.
*/
bool schedule_thread(FunctionPointer && func);
/**
Expand Down

0 comments on commit e15605e

Please sign in to comment.