version 1.3, 2001/10/09 01:36:28 |
version 1.5, 2005/10/19 04:51:16 |
Line 54 static HANDLE hNotify0,hNotify_Ack0,hIntr0; |
|
Line 54 static HANDLE hNotify0,hNotify_Ack0,hIntr0; |
|
static HANDLE hDebugNotify,hDebugNotify_Ack,hDebugIntr,hDebugIntr_Ack,hDebugKill; |
static HANDLE hDebugNotify,hDebugNotify_Ack,hDebugIntr,hDebugIntr_Ack,hDebugKill; |
|
|
HANDLE hResizeNotify,hResizeNotify_Ack; /* should be visible from another file */ |
HANDLE hResizeNotify,hResizeNotify_Ack; /* should be visible from another file */ |
|
HANDLE hMainThreadReady,hCanvasCreated; /* notification for ox_plot */ |
|
|
/* XXX */ |
/* XXX */ |
extern HANDLE hStreamNotify,hStreamNotify_Ack; /* declared in io/ox.c */ |
extern HANDLE hStreamNotify,hStreamNotify_Ack; /* declared in io/ox.c */ |
Line 69 static struct ErrMsg Errmsg; |
|
Line 70 static struct ErrMsg Errmsg; |
|
* interrupt_state : flag to distinguish an Asir error and a cancellation |
* interrupt_state : flag to distinguish an Asir error and a cancellation |
*/ |
*/ |
|
|
static int emergency; |
int emergency; |
static int interrupt_state; |
static int interrupt_state; |
int debuggui_is_present; |
int debuggui_is_present; |
int messagegui_is_present; |
int messagegui_is_present; |
Line 431 void OxPlotMain(int argc, char **argv) |
|
Line 432 void OxPlotMain(int argc, char **argv) |
|
hResizeNotify = CreateEvent(NULL,TRUE,FALSE,eventname); |
hResizeNotify = CreateEvent(NULL,TRUE,FALSE,eventname); |
sprintf(eventname,"resize_notify_ack_%d",mypid); |
sprintf(eventname,"resize_notify_ack_%d",mypid); |
hResizeNotify_Ack = CreateEvent(NULL,TRUE,FALSE,eventname); |
hResizeNotify_Ack = CreateEvent(NULL,TRUE,FALSE,eventname); |
|
sprintf(eventname,"mainthreadready_%d",mypid); |
|
hMainThreadReady = CreateEvent(NULL,TRUE,FALSE,eventname); |
|
sprintf(eventname,"canvascreated_%d",mypid); |
|
hCanvasCreated = CreateEvent(NULL,TRUE,FALSE,eventname); |
|
|
hWatchStreamThread = CreateThread(NULL,0,(LPTHREAD_START_ROUTINE)ox_watch_stream,NULL,0,&tid); |
hWatchStreamThread = CreateThread(NULL,0,(LPTHREAD_START_ROUTINE)ox_watch_stream,NULL,0,&tid); |
// ret = SetThreadPriority(hWatchStreamThread,THREAD_PRIORITY_BELOW_NORMAL); |
// ret = SetThreadPriority(hWatchStreamThread,THREAD_PRIORITY_BELOW_NORMAL); |