solana/core/tests
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
..
fork-selection.rs Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00
ledger_cleanup.rs Add NUM_WRITERS to ledger_cleanup to enable multiple writers. (#21729) 2021-12-10 09:42:51 -08:00
snapshots.rs Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00