src/gfxlib2/gfx_inkey.c
/* Caller is expected to hold FB_LOCK() */
Caller is expected to hold FB_LOCK()
Caller is expected to hold FB_LOCK ()
int fb_GfxKeyHit(void)
{
	int res;
	FB_GRAPHICS_LOCK( );
	DRIVER_LOCK();
	res = (key_head != key_tail? 1: 0);
	DRIVER_UNLOCK();
	FB_GRAPHICS_UNLOCK( );
	return res;
}
int fb_GfxKeyHit ( void ) { int res ; FB_GRAPHICS_LOCK ( ) ; DRIVER_LOCK ( ) ; res = ( key_head != key_tail ? 1 : 0 ) ; DRIVER_UNLOCK ( ) ; FB_GRAPHICS_UNLOCK ( ) ; return res ; }
Caller is expected to hold FB_LOCK()
Caller is expected to hold FB_LOCK ()