diff options
| author | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2021-12-09 00:42:39 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2021-12-09 00:42:39 +0100 |
| commit | 8acabe18cad69d7c7ed7a00ffef654abc3873a16 (patch) | |
| tree | 3fd05d3f6fb9ce51644d27688c073a49f7df0c73 /src/cubetypes.h | |
| parent | 849edbb69700a9f7520e159d94333ef5b798685b (diff) | |
| download | nissy-8acabe18cad69d7c7ed7a00ffef654abc3873a16.tar.gz nissy-8acabe18cad69d7c7ed7a00ffef654abc3873a16.zip | |
Multi-threaded pruning table generation - now it's actually fast :)
Diffstat (limited to '')
| -rw-r--r-- | src/cubetypes.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cubetypes.h b/src/cubetypes.h index ccc2d34..9ec8620 100644 --- a/src/cubetypes.h +++ b/src/cubetypes.h | |||
| @@ -330,12 +330,13 @@ struct | |||
| 330 | threaddatagenpt | 330 | threaddatagenpt |
| 331 | { | 331 | { |
| 332 | int thid; | 332 | int thid; |
| 333 | int nthreads; | ||
| 333 | PruneData * pd; | 334 | PruneData * pd; |
| 334 | int d; | 335 | int d; |
| 335 | uint64_t rangemin; | 336 | Move * ms; |
| 336 | uint64_t rangemax; | ||
| 337 | int nchunks; | 337 | int nchunks; |
| 338 | pthread_mutex_t ** mutex; | 338 | pthread_mutex_t ** mutex; |
| 339 | pthread_mutex_t * upmutex; | ||
| 339 | }; | 340 | }; |
| 340 | 341 | ||
| 341 | #endif | 342 | #endif |
