X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Finclude%2Fctdl_module.h;h=21550ed872be44eaa9f0487e28b72a4ffbb17cbc;hb=3f442f221a69097588beb7be8bdbffa0bbcd5448;hp=0db356a6ff458356849d397f99929e0e7081265d;hpb=68024dbc1b04d5fc7422f5c67640475065e72399;p=citadel.git diff --git a/citadel/include/ctdl_module.h b/citadel/include/ctdl_module.h index 0db356a6f..21550ed87 100644 --- a/citadel/include/ctdl_module.h +++ b/citadel/include/ctdl_module.h @@ -185,6 +185,7 @@ void CtdlThreadAllocTSD(void); #define MYCURSORS (((ThreadTSD*)pthread_getspecific(ThreadKey))->cursors) #define MYTID (((ThreadTSD*)pthread_getspecific(ThreadKey))->tid) #define CT (((ThreadTSD*)pthread_getspecific(ThreadKey))->self) +#define CTP ((ThreadTSD*)pthread_getspecific(ThreadKey)) /** return the current context list as an array and do it in a safe manner * The returned data is a copy so only reading is useful