Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Flush() and iOS watchdog SIGKILL

未關閉
#754 0 則留言 1 個 reaction 已指派 1 人 在 GitHub 檢視

@larvacea 已經在處理了。

開始於 2020年12月21日。

評估

這個 Issue 還沒有評估資料。

描述

enhancement iOS v4

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

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

microsoft/cpp_client_telemetry 的其他 Issue

查看 microsoft/cpp_client_telemetry 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。