ProvableHQ / sdk

A Software Development Kit (SDK) for Zero-Knowledge Transactions
https://provable.tools
GNU General Public License v3.0
594 stars 471 forks source link

Adding in thread_pool::spawn function #881

Closed Pauan closed 6 months ago

Pauan commented 7 months ago

This adds in a thread_pool::spawn function which can be used to run some Rust code on multiple Workers for multithreading.

This is the first step toward implementing #790

iamalwaysuncomfortable commented 6 months ago

This looks good to merge, one thing we will want however is to ensure we're writing some integration tests around spawning functions onto the threadpool.

Pauan commented 6 months ago

Absolutely, that will be in the next PR that actually makes use of the spawning.