Flush() and iOS watchdog SIGKILL
@larvacea 已經在處理了。
開始於 2020年12月21日。
評估
這個 Issue 還沒有評估資料。
描述
The iOS watchdog in some iOS versions will SIGKILL an application if it holds a file lock or sqlite lock when the operating system suspends the app. Suspend occurs in background applications, usually within 30 seconds of an application entering the background state.
To better support the iOS model and avoid application crashes, it would be delightful if we could get a few extra features on Flush:
- asynchronous notification (e.g., promise) when the flush completes.
- abort a flush in progress. The iOS API for notifying the system that you have a task you need to complete (like flush) has some expectations. It hands out a "task id" that the application should use to notify the OS that a task has completed. It also hands out a callback that should abort and complete a task in progress unconditionally, either because time has run out (by default I believe you get 30 seconds) or because the operating system just wants to suspend early for its own reasons.
- a PauseFlush() to prevent the SDK from starting a new flush job when we are about to be suspended.
- 主要語言
- C
- 星號
- 102
- 分支
- 66
- 平均合併
- 4 天 12 小時
- 30 天內合併 PR
- 10
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
microsoft/cpp_client_telemetry 的其他 Issue
-
C API enhancement
難度 2/5 1-3 小時 新手友好度 62/100
-
難度 5/5 一週以上 新手友好度 35/100
microsoft/cpp_client_telemetry#1504 ·
-
bug
難度 4/5 3-5 天 新手友好度 25/100
microsoft/cpp_client_telemetry#1413 · 2 則留言 ·
-
bug
難度 4/5 3-5 天 新手友好度 38/100
microsoft/cpp_client_telemetry#1387 ·
-
bug
難度 4/5 3-5 天 新手友好度 25/100
microsoft/cpp_client_telemetry#1353 ·
查看 microsoft/cpp_client_telemetry 的全部 Issue
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 88/100
zephyrproject-rtos/zephyr#120318 · 1 則留言 ·
-
issue: bug report
難度 1/5 1 小時以內 新手友好度 90/100
-
難度 2/5 1-3 小時 新手友好度 88/100
darktable-org/darktable#22386 ·
-
難度 2/5 1-3 小時 新手友好度 70/100
-
難度 2/5 1-3 小時 新手友好度 72/100