Commit Graph

6 Commits

Author SHA1 Message Date
Felix Müller aed49466ce fixed format in "multithreading" and "lib" 2023-06-06 20:13:07 +02:00
teridax c889c13aa4
Merge branch 'main' into Image-Structs 2023-06-06 19:34:43 +02:00
Felix Müller 9afaf0de5b Added Documentation
changed the requirements for the generic

wrote tests for the struct and all functions
2023-06-05 19:54:35 +02:00
Felix Müller 418416425b added the Image Struct and basic functions and traits for it 2023-06-04 22:28:33 +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
Behrang Shafei e60c50e350
Initial commit 2023-05-17 09:15:28 +02:00