Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Flush() and iOS watchdog SIGKILL

Aberta
#754 0 comentários 1 reação 1 responsável Ver no GitHub

Mantenedores costumam responder em até 1 dia

@larvacea já está trabalhando nisso.

Desde 21/12/2020.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

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.
Linguagem predominante
C
Estrelas
102
Forks
66
Merge médio
4d 12h
PRs com merge (30d)
10

Preparar o ambiente

Ainda não verificamos os arquivos de configuração deste projeto. Comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de microsoft/cpp_client_telemetry

Todas as issues de microsoft/cpp_client_telemetry

Issues semelhantes

Mais issues de C

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.