Commit Graph

101 Commits

Author SHA1 Message Date
Mattia Giambirtone 5910d8574b
Ahem. Oops 2024-02-23 13:13:41 +01:00
Mattia Giambirtone b51d91b11c
Fixed bug with scope cancellation and added connect_socket function 2024-02-23 13:13:41 +01:00
Mattia Giambirtone 8d22b348e0
Change library name to publish on pypi 2024-02-23 13:13:41 +01:00
Mattia Giambirtone 6f3394d7d6
sniffio support 2024-02-23 13:13:41 +01:00
Mattia Giambirtone 422304fcd9
Added nicer repr to async files 2024-02-23 13:13:41 +01:00
Mattia Giambirtone 5aad2f666e
Closing a channel multiple times now doesn't raise an error 2024-02-23 13:13:41 +01:00
Mattia Giambirtone 156b3c6fc8
Various bug fixes and simplifications, added multiprocessing support and new tests 2024-02-23 13:13:41 +01:00
Mattia Giambirtone f9e56cffc4
Further work on streams and multiprocessing 2024-02-23 13:13:41 +01:00
Mattia Giambirtone 2da89cf138
Fixed bug in recursive lock 2024-02-23 13:13:40 +01:00
Mattia Giambirtone 77df81fa4b
Fixed typo 2024-02-23 13:13:40 +01:00
Mattia Giambirtone 382f6993cc
Use current_task() instead of current_loop().current_task 2024-02-23 13:13:40 +01:00
Mattia Giambirtone fb0881ae0f
Fixed bug with I/O scheduling 2024-02-23 13:13:40 +01:00
Mattia Giambirtone 26ee910ba0
Typo 2024-02-23 13:13:40 +01:00
Mattia Giambirtone 26a43d5f84
Ported old aiosched sockets and streams and added related tests 2024-02-23 13:13:40 +01:00
Mattia Giambirtone 3ea159c858
Stuff :P 2024-02-23 13:13:40 +01:00
Mattia Giambirtone e77c154bcd
Added unregister_event and test for smart events 2024-02-23 13:13:40 +01:00
Mattia Giambirtone feda2708ef
Fixed bug with scopes and added 'smart' events 2024-02-23 13:13:39 +01:00
Mattia Giambirtone 2f0f6f82bd
Minor changes 2024-02-23 13:13:39 +01:00
Mattia Giambirtone 9cec11dcc6
Loop now uses the clock's deadline method 2024-02-23 13:13:39 +01:00
Mattia Giambirtone 4d35957d17
Added test for pathlib wrapper 2024-02-23 13:13:39 +01:00
Mattia Giambirtone e3f7af28f2
Initial work on a pathlib clone 2024-02-23 13:13:39 +01:00
Mattia Giambirtone 59096f34b8
Initial work on sockets and added file I/O test 2024-02-23 13:13:39 +01:00
Mattia Giambirtone f1a20be126
Added a bunch of comments and docs and other things 2024-02-23 13:13:39 +01:00
Mattia Giambirtone 1819ef844c
More bugfixes. Exported current_loop() and current_task() 2024-02-23 13:13:39 +01:00
Mattia Giambirtone 7904afb985
Bugfixes 2024-02-23 13:13:38 +01:00
Mattia Giambirtone 400b0fa04c
Preparation for I/O layer 2024-02-23 13:13:38 +01:00
Mattia Giambirtone 3e49f71f00
Refactoring and initial work on multiprocessing support 2024-02-23 13:13:38 +01:00
Mattia Giambirtone 45d3e308d9
Simplified ainput() and added file I/O test 2024-02-23 13:13:38 +01:00
Mattia Giambirtone dd56232250
Initial work for file I/O 2024-02-23 13:13:38 +01:00
Mattia Giambirtone 5a18314dcc
Thread workers are now partially cancellable 2024-02-23 13:13:38 +01:00
Mattia Giambirtone 42bf9d5daf
Fixed bugs with threads and added run_coro() 2024-02-23 13:13:38 +01:00
Mattia Giambirtone 8a16bb41d6
Fixed bugs with thread-related code 2024-02-23 13:13:38 +01:00
Mattia Giambirtone 0abd2c2364
Initial experimental work on running threaded async workers 2024-02-23 13:13:37 +01:00
Mattia Giambirtone 1b4193ce79
Initial highly experimental work on a thread layer 2024-02-23 13:13:37 +01:00
Mattia Giambirtone f5ec5beab3
Fixed bugs with Ctrl+C delivery, redesigned synchonization primitives, added Lock and RLock classes and minor API changes 2024-02-23 13:13:37 +01:00
Mattia Giambirtone a0acce3ed3
Fixed bug with channels and modified event channel test 2024-02-23 13:13:37 +01:00
Mattia Giambirtone 3e33f2732e
Exhausted task pools can not be reused 2024-02-23 13:13:37 +01:00
Mattia Giambirtone 568f27534b
Minor change to task handling test 2024-02-23 13:13:37 +01:00
Mattia Giambirtone 4a7e4cb732
Added notes to task handling test 2024-02-23 13:13:37 +01:00
Mattia Giambirtone e46a41dd8f
Shielded scopes are now directly cancellable 2024-02-23 13:13:37 +01:00
Mattia Giambirtone 242d4818bb
Fixed bugs, added shielded task scopes and related test 2024-02-23 13:13:36 +01:00
Mattia Giambirtone 52daf54ee3
Added full checkpoint support 2024-02-23 13:13:36 +01:00
Mattia Giambirtone cbbe8cc114
Moved exception propagation code outside of the kernel 2024-02-23 13:13:36 +01:00
Mattia Giambirtone 654add480d
Minor change to semaphore test 2024-02-23 13:13:36 +01:00
Mattia Giambirtone d8b2066126
Added experimental task-level cancellation and waiting primitives 2024-02-23 13:13:36 +01:00
Mattia Giambirtone 15d0a0674f
Added a proper timeout exception and enhance some tests 2024-02-23 13:13:36 +01:00
Mattia Giambirtone f7dedeeb6c
Fixed bug with cancellation and added self-cancellation test 2024-02-23 13:13:36 +01:00
Mattia Giambirtone f10796ac53
Minor change to sliding deadline test 2024-02-23 13:13:36 +01:00
Mattia Giambirtone 1947b9ddd4
Minor bugfixes, added Semaphores 2024-02-23 13:13:35 +01:00
Mattia Giambirtone 758e50b6e3
Initial work 2024-02-23 13:13:35 +01:00