Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Flush() and iOS watchdog SIGKILL

Abierto
#754 0 comentarios 1 reacción 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@larvacea ya está trabajando en esto.

Desde el 21/12/2020.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

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.
Lenguaje dominante
C
Estrellas
102
Forks
66
Merge medio
4 d 12 h
PR fusionados (30 d)
10

Preparar el entorno

Aún no hemos revisado los archivos de configuración de este proyecto. Empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de microsoft/cpp_client_telemetry

Todos los issues de microsoft/cpp_client_telemetry

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.