DMTCP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Classes | Macros | Functions | Variables
timer_create.cpp File Reference
#include <errno.h>
#include <pthread.h>
#include <semaphore.h>
#include <signal.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <sys/errno.h>
#include <sys/syscall.h>
#include "timerwrappers.h"
#include "jalloc.h"
#include "jassert.h"

Go to the source code of this file.

Classes

struct  timer
 
struct  thread_start_data
 

Macros

#define SIGCANCEL   SIGRTMIN
 
#define SIGTIMER   SIGCANCEL
 

Functions

LIB_PRIVATE int timer_create_sigev_thread (clockid_t clock_id, struct sigevent *evp, timer_t *timerid, struct sigevent *sevOut)
 

Variables

struct timeractive_timer_sigev_thread
 
pthread_mutex_t active_timer_sigev_thread_lock = PTHREAD_MUTEX_INITIALIZER
 

Macro Definition Documentation

#define SIGCANCEL   SIGRTMIN

Definition at line 36 of file timer_create.cpp.

#define SIGTIMER   SIGCANCEL

Definition at line 37 of file timer_create.cpp.

Function Documentation

LIB_PRIVATE int timer_create_sigev_thread ( clockid_t  clock_id,
struct sigevent *  evp,
timer_t *  timerid,
struct sigevent *  sevOut 
)

Definition at line 84 of file timer_create.cpp.

Variable Documentation

struct timer* active_timer_sigev_thread

Definition at line 61 of file timer_create.cpp.

pthread_mutex_t active_timer_sigev_thread_lock = PTHREAD_MUTEX_INITIALIZER

Definition at line 64 of file timer_create.cpp.