awt.h revision 0
0N/A#include "jni_util.h"
0N/A#include "debug_util.h"
0N/A/* The JVM instance: defined in awt_MToolkit.c */
0N/A#define DEBUG_AWT_LOCK
0N/Aextern void awt_output_flush();
0N/A#define AWT_FLUSH_UNLOCK() do { \
0N/A awt_output_flush(); \
0N/A AWT_NOFLUSH_UNLOCK(); \
0N/A#define AWT_LOCK_IMPL() \
0N/A#define AWT_NOFLUSH_UNLOCK_IMPL() \
0N/A#define AWT_NOTIFY_IMPL() \
0N/A#define AWT_NOTIFY_ALL_IMPL() \
0N/Aextern int awt_locked;
0N/A if (!awtLockInited) { \
0N/A if (awt_locked < 0) { \
0N/A AWT_LOCK_IMPL(); \
0N/A ++awt_locked; \
0N/A#define AWT_NOFLUSH_UNLOCK() do { \
0N/A --awt_locked; \
0N/A awt_locked = 0; \
0N/A#define AWT_NOTIFY() do { \
0N/A AWT_NOTIFY_IMPL(); \
0N/A#define AWT_NOTIFY_ALL() do { \
0N/A AWT_NOTIFY_ALL_IMPL(); \
0N/Aextern unsigned int awt_AltMask;
0N/Aextern unsigned int awt_NumLockMask;
0N/Aextern unsigned int awt_ModeSwitchMask;