Concurrency Support for CBL .Net


The Concurrency Support section of the CBL native API documentation states that “In Java all Couchbase Lite objects may be shared freely between threads.” Is this also true for the C# version?


Yes, this is also true for C#


If the need should arise where you need to synchronize thread access to a shared object (not CBL specific) you could use the light wait and async SemaphoreSlim class from .NET 4.5.
MSDN documentation can be found here: