Class Safepoint
- java.lang.Object
-
- org.jenkinsci.plugins.workflow.cps.ThreadTask
-
- org.jenkinsci.plugins.workflow.cps.Safepoint
-
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class Safepoint extends ThreadTask
Safepoint called from the CPS interpreter.- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description Safepoint()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ThreadTaskResult
eval(CpsThread cur)
static void
safepoint()
Method called from CPS interpreter.
-
-
-
Method Detail
-
safepoint
public static void safepoint()
Method called from CPS interpreter. Suspend the execution to yield CPS VM thread to other activities.
-
eval
protected ThreadTaskResult eval(CpsThread cur)
- Specified by:
eval
in classThreadTask
- Parameters:
cur
- the current thread that requested this task.
-
-