Merge pull request #513 from pruiz/xamarin-bug-8565-v2
[mono.git] / mcs / class / corlib / System.Threading.Tasks / IScheduler.cs
index fa067caf96c6988d368704c021a0a02c9f5f653a..d4c78b43a7d1bfff6cbfa008e5f621b7d6102eb8 100644 (file)
@@ -22,7 +22,7 @@
 //
 //
 
-#if NET_4_0
+#if NET_4_0 || MOBILE
 using System;
 using System.Threading;
 using System.Collections.Generic;
@@ -33,7 +33,7 @@ namespace System.Threading.Tasks
        {
                void AddWork (Task t);
                void ParticipateUntil (Task task);
-               bool ParticipateUntil (Task task, Func<bool> predicate);
+               bool ParticipateUntil (Task task, ManualResetEventSlim predicateEvt, int millisecondsTimeout);
                void PulseAll ();
        }
 }