Commit Graph

11 Commits

Author SHA1 Message Date
Sven Vogel 57016c1083 Changes:
- implemented `Drop` for thread pool
 - thread pool uses a struct to store a function of specific signature
2023-06-07 13:30:22 +02:00
Sven Vogel 7a6dc389b9 finished documetation for thread pool 2023-06-06 17:56:34 +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
Sven Vogel 45fe1afcd9 added unit test to `multithreading` 2023-05-31 17:51:35 +02:00
Sven Vogel e16a38aeef finished benchmark for threadpool
and fixed documentation for threadpool
2023-05-31 17:09:44 +02:00
Sven Vogel 990a54a032 reformatted crate `multithreading` to pass tests 2023-05-30 22:25:08 +02:00
Sven Vogel 1208a04658 added functionality to drop thread handles
automatically when threads have finished
2023-05-30 15:12:02 +02:00
Sven Vogel 898d878554 added module documentation to multithreading 2023-05-26 11:11:00 +02:00
Sven Vogel 43bd19643b fixed doctest for threadpool 2023-05-26 10:40:13 +02:00
Sven Vogel 044a3f3747 replaced `threads` memeber from `Threadpool`
mutex with atomic primitive
2023-05-24 12:11:48 +02:00
Sven Vogel e48176707a added multithreading crate with thread pool 2023-05-23 22:27:41 +02:00