mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-22 04:52:39 +02:00
Added info regarding timeout to the appletLockExit comments.
This commit is contained in:
parent
ac853db5f0
commit
de79614a12
@ -79,8 +79,9 @@ Result appletBeginBlockingHomeButton(s64 val);
|
|||||||
Result appletEndBlockingHomeButton(void);
|
Result appletEndBlockingHomeButton(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Delay exiting until \ref appletUnlockExit is called.
|
* @brief Delay exiting until \ref appletUnlockExit is called, with a 15 second timeout once exit is requested.
|
||||||
* @note When exit is requested \ref appletMainLoop will return false, hence any main-loop using appletMainLoop will exit. This allows the app to handle cleanup post-main-loop instead of being force-terminated.
|
* @note When exit is requested \ref appletMainLoop will return false, hence any main-loop using appletMainLoop will exit. This allows the app to handle cleanup post-main-loop instead of being force-terminated.
|
||||||
|
* @note If the above timeout occurs after exit was requested where \ref appletUnlockExit was not called, the process will be forced-terminated.
|
||||||
* @note \ref appletUnlockExit must be used before main() returns.
|
* @note \ref appletUnlockExit must be used before main() returns.
|
||||||
*/
|
*/
|
||||||
Result appletLockExit(void);
|
Result appletLockExit(void);
|
||||||
|
Loading…
Reference in New Issue
Block a user