Method Concurrent.use_backend()
- Method
use_backend
finalvoiduse_backend(intenable)- Parameter
enable 0A
falsevalue causes all Concurrent callbacks (except for timeouts) to default to being called directly, without using a backend.1A
truevalue causes callbacks to default to being called via Pike.DefaultBackend.- Note
Be very careful about running in the backend disabled mode, as it may cause unlimited recursion and reentrancy issues.
- Note
As long as the backend hasn't started, it will default to
false. Upon startup of the backend, it will change totrueunless you explicitly called use_backend() before that.- Note
(Un)setting this typically alters the order in which some callbacks are called (depending on what happens in a callback).
- See also