Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Flush() and iOS watchdog SIGKILL

Đang mở
#754 0 bình luận 1 reaction 1 người được giao Xem trên GitHub

@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ả

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.
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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/cpp_client_telemetry

Tất cả issue của microsoft/cpp_client_telemetry

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.