Commit Graph

7 Commits

Author SHA1 Message Date
teridax 9bb2fcea52
Merge branch 'main' into multithreading 2023-06-06 18:02:03 +02:00
Sven Vogel 7a6dc389b9 finished documetation for thread pool 2023-06-06 17:56:34 +02:00
Sven Vogel 9be7bc18c7 fixed imports 2023-06-04 23:11:36 +02:00
Sven Vogel 125a3964a7 complete rewrite of `multithreading::ThreadPool` removing:
- The limitation of Atomics
- Multiple Mutexes
And added message passing
2023-06-04 22:31:00 +02:00
teridax 10266dd1bc
Multithreading (#12)
* added multithreading crate with thread pool

* added crate mutlithreading

* replaced `threads` memeber from `Threadpool`
mutex with atomic primitive

* fixed doctest for threadpool

* added module documentation to multithreading

* added functionality to drop thread handles
automatically when threads have finished

* reformatted crate `multithreading` to pass tests

* added benchmark for `threadpool`
using `criterion`.

* finished benchmark for threadpool
and fixed documentation for threadpool

* added unit test to `multithreading`
2023-06-01 20:45:07 +02:00
Sven Vogel e16a38aeef finished benchmark for threadpool
and fixed documentation for threadpool
2023-05-31 17:09:44 +02:00
Sven Vogel c732864a74 added benchmark for `threadpool`
using `criterion`.
2023-05-31 09:00:49 +02:00