void idActor::Event_GetWaitState() { if( WaitState() ) { idThread::ReturnString( WaitState() ); } else { idThread::ReturnString( "" ); } }
void ASMCALL ISAC_SetWaitState( REG( d0, BOOL on ), REG( a6, struct ISAPNPBase* res ) ) { bug("[ISAPNP] ISAC_SetWaitState() is not implemented\n"); #if 0 UBYTE* reg3 = (UBYTE*) ( isa_Base + 0x18007 ); if( ( on && !WaitState() ) || ( !on && WaitState() ) ) { *reg3 = 0; // Toggle } #endif }
TError TFreezerSubsystem::Thaw(TCgroup &cg, bool wait) const { TError error = cg.Set("freezer.state", "THAWED"); if (error || !wait) return error; return WaitState(cg, "THAWED"); }
TError TFreezerSubsystem::Freeze(TCgroup &cg) const { TError error = cg.Set("freezer.state", "FROZEN"); if (error) return error; return WaitState(cg, "FROZEN"); }