Fixed two small typos

git-svn-id: file:///srv/devel/repo-conversion/nusu@149 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
Markus Ewald 2009-06-15 20:15:43 +00:00
parent 6d7f4d11af
commit 4fd22afcc0

View File

@ -136,7 +136,7 @@ namespace Nuclex.Support.Scheduling {
public Scheduler() : this(DefaultTimeSource) { } public Scheduler() : this(DefaultTimeSource) { }
/// <summary>Initializes a new scheduler using the specified time source</summary> /// <summary>Initializes a new scheduler using the specified time source</summary>
/// <param name="timeSource">Source source the scheduler will use</param> /// <param name="timeSource">Time source the scheduler will use</param>
public Scheduler(ITimeSource timeSource) { public Scheduler(ITimeSource timeSource) {
this.dateTimeAdjustedDelegate = new EventHandler(dateTimeAdjusted); this.dateTimeAdjustedDelegate = new EventHandler(dateTimeAdjusted);
@ -394,7 +394,7 @@ namespace Nuclex.Support.Scheduling {
lock(this.timerThread) { lock(this.timerThread) {
this.notifications.Enqueue(notification); this.notifications.Enqueue(notification);
// If this notification has become that next due notification, wake up // If this notification has become the next due notification, wake up
// the timer thread so it can adjust its sleep period. // the timer thread so it can adjust its sleep period.
if(ReferenceEquals(this.notifications.Peek(), notification)) { if(ReferenceEquals(this.notifications.Peek(), notification)) {
this.notificationWaitEvent.Set(); this.notificationWaitEvent.Set();