Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/processing/processing
/ pauseThread
Method
pauseThread
core/src/processing/core/PSurfaceNone.java:212–215 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
210
211
// sets a flag to pause the thread when ready
212
public
void
pauseThread() {
213
PApplet.debug(
"PApplet.run() paused, calling object wait..."
);
214
paused = true;
215
}
216
217
218
// halts the animation thread if the pause flag is set
Callers
nothing calls this directly
Calls
1
debug
Method · 0.95
Tested by
no test coverage detected