public final class ThreadHints extends Object
Thread
class in some Java SE versions, but missing in prior
versions.Modifier and Type | Field and Description |
---|---|
static String |
DISABLE_ON_SPIN_WAIT_PROP_NAME
Set this system property to true to disable
onSpinWait() . |
Modifier and Type | Method and Description |
---|---|
static void |
onSpinWait()
Indicates that the caller is momentarily unable to progress, until the
occurrence of one or more actions on the part of other activities.
|
public static final String DISABLE_ON_SPIN_WAIT_PROP_NAME
onSpinWait()
.public static void onSpinWait()
Copyright © 2014-2020 Real Logic Limited. All Rights Reserved.