solana/core
Yueh-Hsuan Chiang 65194c7ae8
Add NUM_WRITERS to ledger_cleanup to enable multiple writers. (#21729)
Summary:
* Add NUM_WRITERS to ledger_cleanup to enable multiple writers.
  (Note that our insert_shreds() is still single threaded because
   it has a lock that limits only one writer at a time.)

* Make pre-generated slots more performent by directly inserting
  into the shared queue.  Otherwise, the main-thread which
  prepares the slots will be slower than the writers.

* Correct the shred insertion time -- before this diff it did not
  wait for joining all writer threads.
2021-12-10 09:42:51 -08:00
..
benches
src adds more sanity checks to shreds (#21675) 2021-12-09 16:43:57 +00:00
tests Add NUM_WRITERS to ledger_cleanup to enable multiple writers. (#21729) 2021-12-10 09:42:51 -08:00
.gitignore
Cargo.toml chore: bump serde from 1.0.130 to 1.0.131 (#21758) 2021-12-10 08:47:46 +00:00
build.rs