AppLayerLabs / bdk-cpp

MIT License
7 stars 12 forks source link

Dump nthreads #109

Closed lambdart closed 3 months ago

lambdart commented 4 months ago

Describe your changes

This pull request add threads to the state dump process, first we verify how much threads are available and the dump work is divided through them.

For this feature to work properly was necessary to remove some slices (pointers) from the DB module to avoid use-after-free bug when DB operations batches are copied (on the thread) to a list (vector) of DB batches.

Issue ticket number and link

No ticket.

Checklist before requesting a review