Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/bhyve/mevent_test.c
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | |||||
#define TEST_PORT 4321 | #define TEST_PORT 4321 | ||||
static pthread_mutex_t accept_mutex = PTHREAD_MUTEX_INITIALIZER; | static pthread_mutex_t accept_mutex = PTHREAD_MUTEX_INITIALIZER; | ||||
static pthread_cond_t accept_condvar = PTHREAD_COND_INITIALIZER; | static pthread_cond_t accept_condvar = PTHREAD_COND_INITIALIZER; | ||||
static struct mevent *tevp; | static struct mevent *tevp; | ||||
char *vmname = "test vm"; | |||||
#define MEVENT_ECHO | #define MEVENT_ECHO | ||||
/* Number of timer events to capture */ | /* Number of timer events to capture */ | ||||
#define TEVSZ 4096 | #define TEVSZ 4096 | ||||
uint64_t tevbuf[TEVSZ]; | uint64_t tevbuf[TEVSZ]; | ||||
static void | static void | ||||
▲ Show 20 Lines • Show All 190 Lines • Show Last 20 Lines |