PPL Logo

CkCallbackResumeThread Class Reference

Convenience class: a thread-suspending callback. More...

#include <ckcallback.h>

Inheritance diagram for CkCallbackResumeThread:

Inheritance graph
[legend]
Collaboration diagram for CkCallbackResumeThread:

Collaboration graph
[legend]

Public Member Functions

 CkCallbackResumeThread (void)
 CkCallbackResumeThread (void *&ptr)
 ~CkCallbackResumeThread (void)

Protected Attributes

void ** result

Detailed Description

Convenience class: a thread-suspending callback.

Makes sure the thread actually gets delayed, even if the library can't or won't call "thread_delay". The return value is lost, so your library needs to call thread_delay itself if you want a return value. Modification Filippo: Passing in an pointer argument, the return value will be stored in that pointer

Definition at line 440 of file ckcallback.h.


Constructor & Destructor Documentation

CkCallbackResumeThread::CkCallbackResumeThread ( void   )  [inline]

Definition at line 443 of file ckcallback.h.

References result.

CkCallbackResumeThread::CkCallbackResumeThread ( void *&  ptr  )  [inline]

Definition at line 445 of file ckcallback.h.

References result.

CkCallbackResumeThread::~CkCallbackResumeThread ( void   ) 

Definition at line 527 of file ckcallback.C.

References CkFreeMsg(), result, CkCallback::thread_delay(), and CkCallback::thread_destroy().

Here is the call graph for this function:


Field Documentation

void** CkCallbackResumeThread::result [protected]


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

Generated on Mon Sep 21 08:19:37 2020 for Charm++ by  doxygen 1.5.5