Function mindspore::dataset::config::set_callback_timeout
Defined in File config.h
Function Documentation
-
bool mindspore::dataset::config::set_callback_timeout(int32_t timeout)
A function to set the default timeout (in seconds) for DSWaitedCallback. In case of a deadlock, the wait function will exit after the timeout period.
- Parameters
timeout – [in] Timeout (in seconds) to be used to end the wait in DSWaitedCallback in case of a deadlock.