lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
Pds::TaskDelete Class Reference

Routine queued by Task::destroy() so that the task deletes itself from its own thread (per the code comment). More...

#include <Task.hh>

Inherits Pds::Routine.

Public Member Functions

 TaskDelete (Task *t)
 Remember the task t to delete.
 
void routine (void)
 Call deleteTask() on the task, which frees its resources and exits the calling thread.
 
- Public Member Functions inherited from Pds::Routine
virtual ~Routine ()
 Does nothing; empty virtual destructor.
 
- Public Member Functions inherited from Pds::Entry
 Entry ()
 Construct an entry whose links point to itself.
 
Entry * insert (Entry *after)
 Insert this entry after after and return after.
 
Entry * insertList (Entry *after)
 Splice the list that this entry belongs to (from this entry to its predecessor) in after after; returns after.
 
Entry * remove ()
 Unlink this entry from its list, relink it to itself and return it.
 
Entry * next () const
 Return the next entry.
 
Entry * previous () const
 Return the previous entry.
 

Detailed Description

Routine queued by Task::destroy() so that the task deletes itself from its own thread (per the code comment).

Constructor & Destructor Documentation

◆ TaskDelete()

Pds::TaskDelete::TaskDelete ( Task *  t)
inline

Remember the task t to delete.

Member Function Documentation

◆ routine()

void Pds::TaskDelete::routine ( void  )
virtual

Call deleteTask() on the task, which frees its resources and exits the calling thread.

Implements Pds::Routine.


The documentation for this class was generated from the following file: