LockSupport.ParkUntil Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| ParkUntil(Int64) |
Disables the current thread for thread scheduling purposes, until the specified deadline, unless the permit is available. |
| ParkUntil(Object, Int64) |
Disables the current thread for thread scheduling purposes, until the specified deadline, unless the permit is available. |
ParkUntil(Int64)
Disables the current thread for thread scheduling purposes, until the specified deadline, unless the permit is available.
[Android.Runtime.Register("parkUntil", "(J)V", "")]
public static void ParkUntil (long deadline);
[<Android.Runtime.Register("parkUntil", "(J)V", "")>]
static member ParkUntil : int64 -> unit
Parameters
- deadline
- Int64
the absolute time, in milliseconds from the Epoch, to wait until
- Attributes
Remarks
Java documentation for java.util.concurrent.locks.LockSupport.parkUntil(long).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
ParkUntil(Object, Int64)
Disables the current thread for thread scheduling purposes, until the specified deadline, unless the permit is available.
[Android.Runtime.Register("parkUntil", "(Ljava/lang/Object;J)V", "")]
public static void ParkUntil (Java.Lang.Object? blocker, long deadline);
[<Android.Runtime.Register("parkUntil", "(Ljava/lang/Object;J)V", "")>]
static member ParkUntil : Java.Lang.Object * int64 -> unit
Parameters
- blocker
- Object
the synchronization object responsible for this thread parking
- deadline
- Int64
the absolute time, in milliseconds from the Epoch, to wait until
- Attributes
Remarks
Java documentation for java.util.concurrent.locks.LockSupport.parkUntil(java.lang.Object, long).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.