Mehdi Akiki

Posts tagged "concurrency"

  • Published on
    Keep network waits outside a shared-state lock, then check that the state is still current before applying the result. Shorter locks need a correctness policy too.
  • Published on

    Article · Interrupted execution

    A SQLite Import Can Block Normal Saves

    Keep an interactive SQLite importer resumable and bounded. Commit batches with their progress and give foreground writes an explicit busy policy.
  • Published on
    A fence orders surrounding operations only through an atomic carrier and a reads-from relation. Trace release-fence/acquire-fence synchronization and the final-reference-count pattern.