Thread_Time_Out_Proc


include vmm.inc

mov  ebx, VMHandle
mov  ecx, Tardiness
mov  edx, Reference_Data
mov  edi, ThreadHandle
mov  ebp, OFFSET32 Client_Reg_Struc
call [Thread_Time_Out_Proc]

The thread time-out callback procedure is called when the corresponding thread has executed for the amount of time specified when the time-out was set.

VMHandle

Handle of current virtual machine.

Tardiness

Number of extra milliseconds that have elapsed. See Time-Out Callback Procedures for a description of this value.

Reference_Data

Reference data originally provided when the time-out was scheduled.

ThreadHandle

Handle of current thread.

Client_Reg_Struc

Address of Client_Reg_Struc structure containing the contents of the virtual machine's registers.

The time-out will occur after the thread has run for the specified number of milliseconds. If there is more than one thread executing, it may take more than the specified time to occur. See Time-Out Callback Procedures for more information about time-out callbacks.