Skip to content

Instantly share code, notes, and snippets.

@petehamilton
Created June 18, 2021 06:45
Show Gist options
  • Save petehamilton/a893092272740b400c1b0665963ef488 to your computer and use it in GitHub Desktop.
Save petehamilton/a893092272740b400c1b0665963ef488 to your computer and use it in GitHub Desktop.
/*
* We don't want to log each fetching of a value from a sequence,
* so we pre-log a few fetches in advance. In the event of
* crash we can lose (skip over) as many values as we pre-logged.
*/
#define SEQ_LOG_VALS 32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment