Xamarin Public Jenkins 6992685b86 Imported Upstream version 4.2.0.179
Former-commit-id: 0a113cb3a6feb7873f632839b1307cc6033cd595
2015-11-10 14:54:39 +00:00

22 lines
426 B
C#

using System.Threading;
using StringMaker = System.Security.Util.Tokenizer.StringMaker;
namespace System
{
static class SharedStatics
{
static StringMaker shared;
static public StringMaker GetSharedStringMaker ()
{
if (shared == null)
Interlocked.CompareExchange (ref shared, new StringMaker (), null);
return shared;
}
static public void ReleaseSharedStringMaker (ref StringMaker maker)
{
}
}
}