DMTCP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Classes | Functions
threadwrappers.cpp File Reference
#include <sys/syscall.h>
#include "constants.h"
#include "dmtcpworker.h"
#include "mtcpinterface.h"
#include "syscallwrappers.h"
#include "dmtcp.h"
#include "uniquepid.h"
#include "util.h"
#include "../jalib/jassert.h"
#include "../jalib/jalloc.h"
#include "threadsync.h"
#include "processinfo.h"
#include "threadlist.h"
#include "siginfo.h"

Go to the source code of this file.

Classes

struct  ThreadArg
 

Functions

LIB_PRIVATE int clone_start (void *arg)
 
int __clone (int(*fn)(void *arg), void *child_stack, int flags, void *arg, int *ptid, struct user_desc *tls, int *ctid)
 
int pthread_create (pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)(void *), void *arg)
 
void pthread_exit (void *retval)
 
int pthread_join (pthread_t thread, void **retval)
 
int pthread_tryjoin_np (pthread_t thread, void **retval)
 
int pthread_timedjoin_np (pthread_t thread, void **retval, const struct timespec *abstime)
 

Function Documentation

int __clone ( int(*)(void *arg)  fn,
void *  child_stack,
int  flags,
void *  arg,
int *  ptid,
struct user_desc tls,
int *  ctid 
)

Definition at line 97 of file threadwrappers.cpp.

LIB_PRIVATE int clone_start ( void *  arg)

Definition at line 51 of file threadwrappers.cpp.

int pthread_create ( pthread_t *  thread,
const pthread_attr_t *  attr,
void *(*)(void *)  start_routine,
void *  arg 
)

Definition at line 176 of file threadwrappers.cpp.

void pthread_exit ( void *  retval)

Definition at line 228 of file threadwrappers.cpp.

int pthread_join ( pthread_t  thread,
void **  retval 
)

Definition at line 261 of file threadwrappers.cpp.

int pthread_timedjoin_np ( pthread_t  thread,
void **  retval,
const struct timespec *  abstime 
)

Definition at line 301 of file threadwrappers.cpp.

int pthread_tryjoin_np ( pthread_t  thread,
void **  retval 
)

Definition at line 286 of file threadwrappers.cpp.