Commit Graph

36 Commits

Author SHA1 Message Date
Mattia Giambirtone faccd4146d
Added unregister_event and test for smart events 2023-06-02 11:01:24 +02:00
Mattia Giambirtone e7cb6a72f5
Fixed bug with scopes and added 'smart' events 2023-06-02 10:58:46 +02:00
Mattia Giambirtone f4ac001f49
Minor changes 2023-06-01 20:33:09 +02:00
Mattia Giambirtone bc60572c31
Loop now uses the clock's deadline method 2023-06-01 20:02:07 +02:00
Mattia Giambirtone bfa69a6db2
Added test for pathlib wrapper 2023-05-22 09:22:37 +02:00
Mattia Giambirtone 0e2ed77960
Initial work on a pathlib clone 2023-05-22 08:07:36 +02:00
Mattia Giambirtone 35e94363d0
Initial work on sockets and added file I/O test 2023-05-19 16:38:59 +02:00
Mattia Giambirtone b64707271a
Added a bunch of comments and docs and other things 2023-05-19 15:43:55 +02:00
Mattia Giambirtone 6ceaec6a99
More bugfixes. Exported current_loop() and current_task() 2023-05-18 22:21:04 +02:00
Mattia Giambirtone 2459a7ea00
Bugfixes 2023-05-18 22:05:43 +02:00
Mattia Giambirtone bb52655582
Preparation for I/O layer 2023-05-18 19:21:44 +02:00
Mattia Giambirtone 4d709f0e86
Refactoring and initial work on multiprocessing support 2023-05-18 18:21:12 +02:00
Mattia Giambirtone ae81b11394
Simplified ainput() and added file I/O test 2023-05-18 18:08:38 +02:00
Mattia Giambirtone 306fe84a61
Initial work for file I/O 2023-05-18 16:02:27 +02:00
Mattia Giambirtone 61f282784e
Thread workers are now partially cancellable 2023-05-18 15:19:13 +02:00
Mattia Giambirtone 11b6dad416
Fixed bugs with threads and added run_coro() 2023-05-18 12:44:10 +02:00
Mattia Giambirtone 2bda49abad
Fixed bugs with thread-related code 2023-05-18 11:23:34 +02:00
Mattia Giambirtone cbc3bc8bc9
Initial experimental work on running threaded async workers 2023-05-18 09:55:10 +02:00
Mattia Giambirtone 6d0ac9d27d
Initial highly experimental work on a thread layer 2023-05-18 00:06:21 +02:00
Mattia Giambirtone ac69afd2db
Fixed bugs with Ctrl+C delivery, redesigned synchonization primitives, added Lock and RLock classes and minor API changes 2023-05-17 22:28:29 +02:00
Mattia Giambirtone 8f85a627d7
Fixed bug with channels and modified event channel test 2023-05-17 16:01:22 +02:00
Mattia Giambirtone 8e0efe5df2
Exhausted task pools can not be reused 2023-05-17 11:53:42 +02:00
Mattia Giambirtone f571656f5e
Minor change to task handling test 2023-05-17 11:49:21 +02:00
Mattia Giambirtone 18142e5b1c
Added notes to task handling test 2023-05-17 11:21:18 +02:00
Mattia Giambirtone 05026448c7
Shielded scopes are now directly cancellable 2023-05-17 11:16:58 +02:00
Mattia Giambirtone 21281d7397
Fixed bugs, added shielded task scopes and related test 2023-05-17 00:27:24 +02:00
Mattia Giambirtone 26999bba98
Added full checkpoint support 2023-05-16 16:37:03 +02:00
Mattia Giambirtone ab9b12dd2e
Moved exception propagation code outside of the kernel 2023-05-16 16:22:09 +02:00
Mattia Giambirtone 8175abf16c
Minor change to semaphore test 2023-05-16 16:04:01 +02:00
Mattia Giambirtone af0bdb239b
Added experimental task-level cancellation and waiting primitives 2023-05-16 15:48:19 +02:00
Mattia Giambirtone 82385de378
Added a proper timeout exception and enhance some tests 2023-05-16 11:59:01 +02:00
Mattia Giambirtone da2c65e921
Fixed bug with cancellation and added self-cancellation test 2023-05-16 10:43:00 +02:00
Mattia Giambirtone 40fcea6a50
Minor change to sliding deadline test 2023-05-16 00:11:31 +02:00
Mattia Giambirtone eb5d54a1ec
Minor bugfixes, added Semaphores 2023-05-15 23:56:53 +02:00
Mattia Giambirtone 4d6baf36c4
Initial work 2023-05-15 18:25:02 +02:00
Mattia Giambirtone d973aab5e7 Initial commit 2023-05-15 18:15:45 +02:00