oxipng/tests
Ingvar Stepanyan e38c759563
Switch to crossbeam-channel + rayon::spawn (#327)
* Switch to crossbeam-channel + rayon::spawn

* Remove thread_spawn for evaluation altogether

This allows to avoid a deadlock when there is only one Rayon thread, and doesn't sacrifice performance, since the caller of .get_result() had to always block on the iterator to be finished anyway, and all the messages are already sent from separate threads.

* Fix `verbose_mode` test

This one is easier to "fix", since we're in control of the rayon pool - just adding one extra thread to the default number to make sure we always can one root "spawn" call without stealing from the actual pool.
2020-11-11 12:01:13 -05:00
..
files Fix decoding interlaced images with height or width <= 2 (#175) 2019-06-27 13:44:34 -04:00
filters.rs Switch to standard logging library (#218) 2020-04-18 18:33:48 -04:00
flags.rs Switch to crossbeam-channel + rayon::spawn (#327) 2020-11-11 12:01:13 -05:00
interlaced.rs Switch to standard logging library (#218) 2020-04-18 18:33:48 -04:00
lib.rs Switch to standard logging library (#218) 2020-04-18 18:33:48 -04:00
reduction.rs Switch to standard logging library (#218) 2020-04-18 18:33:48 -04:00
regression.rs Switch to standard logging library (#218) 2020-04-18 18:33:48 -04:00