Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Flush() and iOS watchdog SIGKILL

Aperta
#754 0 commenti 1 reazione 1 assegnatario Vedi su GitHub

@larvacea ci sta già lavorando.

Dal 21/12/2020.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.
Lingua principale
C
Stelle
102
Fork
66
Merge medio
4g 12h
PR unite (30g)
10

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/cpp_client_telemetry

Tutte le issue di microsoft/cpp_client_telemetry

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.