Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

CXtEventLoop.cpp File Reference

#include <config.h>
#include "CXtEventLoop.h"
#include "CApplicationSerializer.h"

Go to the source code of this file.

Variables

const char * Copyright = "(C) Copyright Michigan State University 2002, All rights reserved"


Detailed Description

Encapsulates an occurance of an Xt event loop. The main loop synchronizes the event loop thread with the application each pass through the xt event loop e.g. the event loop looks like:

while(1) { XtGetEvent() LockMutex() XtDispatchEvent(); UnlockMutex(); yield(); // Let someone else run. }

This implies that work procedures and timer procs are also synchonrized to the application. Note that this synchronization can be costly if there are work procedures continuously active.

Definition in file CXtEventLoop.cpp.


Variable Documentation

const char* Copyright = "(C) Copyright Michigan State University 2002, All rights reserved" [static]
 

Definition at line 278 of file CXtEventLoop.cpp.


Generated on Thu Jan 6 16:58:43 2005 for Spectrodaq External Event Framework by  doxygen 1.3.9.1