Skip to content

Instantly share code, notes, and snippets.

@eferm
Created April 12, 2011 13:55
Show Gist options
  • Select an option

  • Save eferm/915526 to your computer and use it in GitHub Desktop.

Select an option

Save eferm/915526 to your computer and use it in GitHub Desktop.

Revisions

  1. eferm renamed this gist Apr 12, 2011. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. eferm renamed this gist Apr 12, 2011. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. eferm created this gist Apr 12, 2011.
    6 changes: 6 additions & 0 deletions write_job
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    /** A job for the writer thread. */
    struct write_job {
    char* buf;
    std::pair <int, int>* slot;
    bool* finished;
    };