mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-26 11:38:02 +02:00
Removed 'internal' protection - it's all about [Friend] now
This commit is contained in:
parent
81af04a1ce
commit
14ac27c977
119 changed files with 1339 additions and 1388 deletions
|
@ -2,9 +2,9 @@ namespace System.Threading
|
|||
{
|
||||
struct SpinWait
|
||||
{
|
||||
internal const int YIELD_THRESHOLD = 10; // When to switch over to a true yield.
|
||||
internal const int SLEEP_0_EVERY_HOW_MANY_TIMES = 5; // After how many yields should we Sleep(0)?
|
||||
internal const int SLEEP_1_EVERY_HOW_MANY_TIMES = 20; // After how many yields should we Sleep(1)?
|
||||
const int YIELD_THRESHOLD = 10; // When to switch over to a true yield.
|
||||
const int SLEEP_0_EVERY_HOW_MANY_TIMES = 5; // After how many yields should we Sleep(0)?
|
||||
const int SLEEP_1_EVERY_HOW_MANY_TIMES = 20; // After how many yields should we Sleep(1)?
|
||||
|
||||
private int m_count;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue