Flush() and iOS watchdog SIGKILL
@larvacea đang làm issue này rồi.
Từ ngày 21/12/2020.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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.
- Ngôn ngữ chính
- C
- Star
- 102
- Fork
- 66
- Merge trung bình
- 4 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 10
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/cpp_client_telemetry
-
C API enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
microsoft/cpp_client_telemetry#1504 ·
-
Dropping of telemetry events Đang mởbug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
microsoft/cpp_client_telemetry#1413 · 2 bình luận ·
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
microsoft/cpp_client_telemetry#1387 ·
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
microsoft/cpp_client_telemetry#1353 ·
Tất cả issue của microsoft/cpp_client_telemetry
Issue tương tự
-
Độ khó 2/5 1-2 ngày Mức phù hợp với người mới 78/100
brunodev85/gladio#18 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
OpenPrinting/cups#1721 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
zephyrproject-rtos/zephyr#120318 · 1 bình luận ·
-
issue: bug report
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
-
[BUG] [25.12.5] Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100