You've already forked linux-packaging-mono
Imported Upstream version 4.8.0.309
Former-commit-id: 5f9c6ae75f295e057a7d2971f3a6df4656fa8850
This commit is contained in:
parent
ee1447783b
commit
94b2861243
@@ -155,9 +155,7 @@ namespace System.Threading
|
||||
lockID = Interlocked.Increment(ref s_nextLockID);
|
||||
}
|
||||
|
||||
#if NET_4_5
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
#endif
|
||||
private static bool IsRWEntryEmpty(ReaderWriterCount rwc)
|
||||
{
|
||||
if (rwc.lockID == 0)
|
||||
@@ -181,9 +179,7 @@ namespace System.Threading
|
||||
/// entry for this thread, but doesn't want to add one if an existing one
|
||||
/// could not be found.
|
||||
/// </summary>
|
||||
#if NET_4_5
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
#endif
|
||||
private ReaderWriterCount GetThreadRWCount(bool dontAllocate)
|
||||
{
|
||||
ReaderWriterCount rwc = t_rwc;
|
||||
@@ -1117,9 +1113,7 @@ namespace System.Threading
|
||||
return owners & READER_MASK;
|
||||
}
|
||||
|
||||
#if NET_4_5
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
#endif
|
||||
private void EnterMyLock()
|
||||
{
|
||||
if (Interlocked.CompareExchange(ref myLock, 1, 0) != 0)
|
||||
|
||||
Reference in New Issue
Block a user