Renamed DefaultTimeSource to GenericTimeSource; the generic time source will now detect when the system date/time is adjusted; made some progress on the Scheduler implementation; wrote some unit tests for the Scheduler class
git-svn-id: file:///srv/devel/repo-conversion/nusu@144 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
parent
2426868cce
commit
4b9002b520
8 changed files with 519 additions and 29 deletions
|
@ -31,7 +31,7 @@ namespace Nuclex.Support.Scheduling {
|
|||
/// <summary>
|
||||
/// Time source that makes use of additional features only available on Windows
|
||||
/// </summary>
|
||||
public class WindowsTimeSource : DefaultTimeSource, IDisposable {
|
||||
public class WindowsTimeSource : GenericTimeSource, IDisposable {
|
||||
|
||||
/// <summary>Number of ticks (100 ns intervals) in a millisecond</summary>
|
||||
private const long TicksPerMillisecond = 10000;
|
||||
|
@ -50,7 +50,7 @@ namespace Nuclex.Support.Scheduling {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>Waits for an AutoResetEvent become signalled</summary>
|
||||
/// <summary>Waits for an AutoResetEvent to become signalled</summary>
|
||||
/// <param name="waitHandle">WaitHandle the method will wait for</param>
|
||||
/// <param name="ticks">Number of ticks to wait</param>
|
||||
/// <returns>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue