Fixed a compilation error when targeting Windows Phone; ChainStream now uses a params list for its constructor; added object cloning framework with support for deep and shallow cloning as well as cloning based on fields or properties
git-svn-id: file:///srv/devel/repo-conversion/nusu@223 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
parent
54d82e9659
commit
eb3083cf9e
12 changed files with 1290 additions and 5 deletions
|
|
@ -88,7 +88,7 @@ namespace Nuclex.Support {
|
|||
// as we may run into situations where multiple operations need to be atomic.
|
||||
// We keep track of the threads we've created just for good measure; not actually
|
||||
// needed for any core functionality.
|
||||
#if XBOX360
|
||||
#if XBOX360 || WINDOWS_PHONE
|
||||
workAvailable = new Semaphore();
|
||||
#else
|
||||
workAvailable = new System.Threading.Semaphore(0, Processors);
|
||||
|
|
@ -303,7 +303,7 @@ namespace Nuclex.Support {
|
|||
/// <summary>
|
||||
/// Used to let the threads in the thread pool wait for new work to appear.
|
||||
/// </summary>
|
||||
#if XBOX360
|
||||
#if XBOX360 || WINDOWS_PHONE
|
||||
private static Semaphore workAvailable;
|
||||
#else
|
||||
private static System.Threading.Semaphore workAvailable;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue