SystemTimeInterruptMonitor Class
Contents
[
Hide
]SystemTimeInterruptMonitor class
Simple implementation of
type SystemTimeInterruptMonitor struct {
ptr unsafe.Pointer
}
Constructors
Method | Description |
---|---|
NewSystemTimeInterruptMonitor | Constructs one interruption monitor. |
Methods
Method | Description |
---|---|
IsNull | Checks whether the implementation object is nullptr. |
StartMonitor | Starts the monitor with the specified time limit. The start time to calculate time cost is just when this method is called,so the procedure which needs to be monitored should be started just after this call. |
IsInterruptionRequested | This implementation just checks whether the time cost(from the time when starting this monitor to now) is greater than user specified limit. |
GetTerminateWithoutException | See |