equal
deleted
inserted
replaced
40 static jthread agentThread = NULL; |
40 static jthread agentThread = NULL; |
41 static jvmtiStartFunction agentThreadProc = NULL; |
41 static jvmtiStartFunction agentThreadProc = NULL; |
42 static void* agentThreadArg = NULL; |
42 static void* agentThreadArg = NULL; |
43 |
43 |
44 |
44 |
45 typedef enum {NEW, RUNNABLE, WAITING, SUSPENDED, TERMINATED} thread_state_t; |
45 typedef enum { NEW, RUNNABLE, WAITING, SUSPENDED, TERMINATED } thread_state_t; |
46 |
46 |
47 typedef struct agent_data_t { |
47 typedef struct agent_data_t { |
48 volatile thread_state_t thread_state; |
48 volatile thread_state_t thread_state; |
49 int last_debuggee_status; |
49 int last_debuggee_status; |
50 jrawMonitorID monitor; |
50 jrawMonitorID monitor; |