14 #define copy_pef(f, d) \
15 g_tw_pe->type.f = type->f ? type->f : d
41 memset(&no_type, 0,
sizeof(no_type));
tw_synch g_tw_synchronization_protocol
tw_rng * tw_rand_init(uint32_t v, uint32_t w)
void tw_pe_fossil_collect(void)
unsigned char gvt_status
Bits available for gvt computation.
void tw_error(const char *file, int line, const char *fmt,...) NORETURN
void tw_pe_settype(const tw_petype *type)
tw_stime trans_msg_ts
Last transient messages' time stamp.
Holds the entire PE state.
tw_eventq pevent_q
Events processed by LPs bound to this KP.
static tw_kp * tw_getkp(tw_kpid id)
void * hash_t
Array of incoming events from remote pes, Note: only necessary for distributed DSR.
static void tw_eventq_fossil_collect(tw_eventq *q, tw_pe *pe)
tw_rng * rng
Pointer to the random number generator on this PE.
static void dummy_pe_f(tw_pe *pe)
Virtual Functions for per PE ops.
void * tw_calloc(const char *file, int line, const char *for_who, size_t e_sz, size_t n)