XRootD
Loading...
Searching...
No Matches
XrdSysPthread.cc File Reference
#include <cerrno>
#include <pthread.h>
#include <unistd.h>
#include <sys/time.h>
#include <sys/types.h>
#include "XrdSys/XrdSysPthread.hh"
+ Include dependency graph for XrdSysPthread.cc:

Go to the source code of this file.

Classes

struct  XrdSysThreadArgs
 

Functions

void * XrdSysThread_Xeq (void *myargs)
 

Function Documentation

◆ XrdSysThread_Xeq()

void * XrdSysThread_Xeq ( void * myargs)

Definition at line 79 of file XrdSysPthread.cc.

80{
81 XrdSysThreadArgs *ap = (XrdSysThreadArgs *)myargs;
82 void *retc;
83
84 if (ap->eDest && ap->tDesc)
85 ap->eDest->Emsg("Xeq", ap->tDesc, "thread started");
86 retc = ap->proc(ap->arg);
87 delete ap;
88 return retc;
89}
int Emsg(const char *esfx, int ecode, const char *text1, const char *text2=0)
XrdSysError * eDest
const char * tDesc
void *(* proc)(void *)

References XrdSysThreadArgs::arg, XrdSysThreadArgs::eDest, XrdSysError::Emsg(), XrdSysThreadArgs::proc, and XrdSysThreadArgs::tDesc.

Referenced by XrdSysThread::Run().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: