Created
June 2, 2014 12:59
-
-
Save renestein/cf9289161130bbbfd3f8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace RStein.Async.Schedulers | |
{ | |
public class IoSchedulerThreadServiceFlags | |
{ | |
public IoSchedulerThreadServiceFlags() | |
{ | |
ResetData(); | |
} | |
public bool IsServiceThread | |
{ | |
get; | |
set; | |
} | |
public int MaxOperationsAllowed | |
{ | |
get; | |
set; | |
} | |
public int ExecutedOperationsCount | |
{ | |
get; | |
set; | |
} | |
public void ResetData() | |
{ | |
IsServiceThread = false; | |
MaxOperationsAllowed = ExecutedOperationsCount = 0; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment