Skip to content

Instantly share code, notes, and snippets.

@renestein
Created June 2, 2014 12:59
Show Gist options
  • Save renestein/cf9289161130bbbfd3f8 to your computer and use it in GitHub Desktop.
Save renestein/cf9289161130bbbfd3f8 to your computer and use it in GitHub Desktop.
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