Branch: Tag:

2019-02-15

2019-02-15 14:07:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Concurrent]: Added note about backend disabled mode.

24:   protected function(mixed : void) global_on_failure;      //! @param enable - //! Setting this to @expr{false@} causes all @[Concurrent] callbacks - //! (except for timeouts) - //! to be called directly, without using a backend. + //! @int + //! @value 0 + //! A @expr{false@} value causes all @[Concurrent] callbacks + //! (except for timeouts) to default to being called directly, + //! without using a backend. + //! @value 1 + //! A @expr{true@} value causes callbacks to default to being + //! called via @[Pike.DefaultBackend]. + //! @endint   //!   //! @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 @expr{false@}.   //! Upon startup of the backend, it will change to @expr{true@} unless you   //! explicitly called @[use_backend()] before that.