Commit Graph

30 Commits

Author SHA1 Message Date
Felix Müller 52cb8639ea added the validate function for images.
added the "iter" and "iter_mut" functions
added a test for the validate function
added  "From<u8>" and "PartialOrd" to the generic
added documentation for the added features
2023-06-06 21:48:19 +02:00
Felix Müller aed49466ce fixed format in "multithreading" and "lib" 2023-06-06 20:13:07 +02:00
teridax d6bb8f38fa
Merge pull request #18 from programmieren-mit-rust/Image-Structs
Image structs
2023-06-06 19:35:08 +02:00
teridax c889c13aa4
Merge branch 'main' into Image-Structs 2023-06-06 19:34:43 +02:00
teridax 086c0b9ada
Merge pull request #16 from programmieren-mit-rust/multithreading
Multithreading
2023-06-06 18:10:23 +02:00
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
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
teridax 334093ad87
Update README.md
Added reminder for good programming practices for this repo
(tb removed later on)
2023-06-05 17:40:00 +00:00
Sven Vogel 9be7bc18c7 fixed imports 2023-06-04 23:11:36 +02:00
Sven Vogel fcb904c5cd added `#[allow(unused)]` to `Image` implementation 2023-06-04 22:32:53 +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
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
Sven Vogel 45fe1afcd9 added unit test to `multithreading` 2023-05-31 17:51:35 +02:00
teridax 19db18d1be
Merge pull request #11 from programmieren-mit-rust/criterion
Criterion
2023-05-31 17:16:47 +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
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 cbf42d6d57 added crate mutlithreading 2023-05-23 22:28:11 +02:00
Sven Vogel e48176707a added multithreading crate with thread pool 2023-05-23 22:27:41 +02:00
Behrang Shafei e24028ffc6
Update Programmentwurf.md 2023-05-19 09:01:37 +02:00
Behrang Shafei 52b1a6bce1
Update Programmentwurf.md 2023-05-19 08:58:38 +02:00
Behrang Shafei 0a1de19fa3
Update Programmentwurf.md 2023-05-19 08:58:22 +02:00
Sven Vogel e275e35624 added authors to cargo.toml 2023-05-17 09:45:51 +02:00
Behrang Shafei e60c50e350
Initial commit 2023-05-17 09:15:28 +02:00