#include <uhd/utils/tasks.hpp>
◆ sptr
◆ task_fcn_type
◆ make()
Create a new task object with function callback. The task function callback will be run in a loop. until the thread is interrupted by the deconstructor.
A task should return in a reasonable amount of time or may block forever under the following conditions:
- The blocking call is interruptible.
 
- The task polls the interrupt condition.
 
- Parameters
 - 
  
    | task_fcn | the task callback function  | 
  
   
- Returns
 - a new task object 
 
 
 
The documentation for this class was generated from the following file: