teridax
243e94a506
Merge pull request #24 from programmieren-mit-rust/Image_Path
...
added Path to the Image Struct
2023-06-08 15:40:11 +00:00
Felix Müller
3d0fd76862
added Path to the Image Struct
...
added path function
changed tests and comments
2023-06-08 16:16:24 +02:00
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
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
c889c13aa4
Merge branch 'main' into Image-Structs
2023-06-06 19:34:43 +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
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
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
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
e60c50e350
Initial commit
2023-05-17 09:15:28 +02:00