2020-09-29 09:58:11 +00:00
|
|
|
- [x] Use queues
|
|
|
|
- [x] Immediate head chop after dequeue
|
|
|
|
- [x] Thread.yields
|
2021-09-08 09:14:00 +00:00
|
|
|
- [ ] Sleep option
|
2021-09-08 17:23:23 +00:00
|
|
|
- [x] Use linked list for queues (increase performance)
|
2021-09-08 12:08:22 +00:00
|
|
|
- [ ] shutdown option
|
2021-09-08 17:23:44 +00:00
|
|
|
- [x] Queue policies
|
2021-09-08 12:08:22 +00:00
|
|
|
- [x] Length cap
|
2021-09-08 12:24:58 +00:00
|
|
|
- [ ] Exceptions
|
2022-05-17 12:41:51 +00:00
|
|
|
- [x] Queue deletion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Todo
|
|
|
|
|
|
|
|
- [ ] Exception handling
|
|
|
|
- [ ] If the watcher has an error then we should throw an exception
|
|
|
|
* But it has to be on the main thread, therefore it should happen when using any of the `Queue` methods
|
|
|
|
* We need to set a value in those methods for this, everything should then throw an exception as the underlying endpoint is dead
|
|
|
|
- [x] We must set a field in `Manager` which `Queue` can check and then throw an exception
|
|
|
|
- [x] `Queue` must take in the `Manager` instance
|
|
|
|
- [x] Add checks in `Queue` class
|
|
|
|
|
|
|
|
|
2022-05-19 16:40:25 +00:00
|
|
|
- [ ] New sys, before calling `continue`, should `yield()`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- [x] Add `.start()`, don't start the watcher immediately
|
|
|
|
- [x] Code
|
|
|
|
- [x] Documentation
|