Commit Graph

50 Commits

Author SHA1 Message Date
Nocturn9x 33feb442e4
Fixed wrong warning about pending I/O in Task destructor 2023-05-12 09:14:45 +02:00
Nocturn9x 727848ada8
Sleeping tasks are now awoken after the parent crashes 2023-05-12 09:07:00 +02:00
Nocturn9x 724b5c98ba
Fixed bugs with cancellations and exceptions 2023-05-11 14:17:09 +02:00
Mattia Giambirtone 98a280ce39
Attempts at fixing timeout edge cases 2023-05-10 23:25:56 +02:00
Mattia Giambirtone dd924d600c
More I/O fixes 2023-05-10 22:56:34 +02:00
Mattia Giambirtone e423716442
Fix some issues with the throw syscall, two-way proxy now working 2023-05-10 22:31:33 +02:00
Mattia Giambirtone 07dd63dd49
More fixes to Ctrl+C 2023-05-10 21:48:15 +02:00
Nocturn9x 8d3315d2cb
Fixed issue with sleeping and I/O 2023-05-10 13:53:11 +02:00
Nocturn9x 7272516e78
Renamed message_handler to event_handler 2023-05-10 12:20:45 +02:00
Nocturn9x 089d525def
Minor addition to chatroom test 2023-05-10 12:13:47 +02:00
Nocturn9x b875093c8a
Minor change 2023-05-10 12:10:12 +02:00
Nocturn9x b7b67e9ac3
Minor change 2023-05-10 12:07:21 +02:00
Nocturn9x 3f0daece7e
Initial work on Ctrl+C safety + added a message handler to the chatroom 2023-05-10 12:05:33 +02:00
Nocturn9x 6524fafa7c
Fixed issues with Ctrl+C 2023-05-10 11:04:27 +02:00
Mattia Giambirtone a86e0afbbd
Initial work on proper Ctrl+C handling. Minor fixes and additions 2023-05-01 14:41:40 +02:00
Nocturn9x d10ae9c55b
Added task scopes. Many major fixes 2023-04-28 16:04:30 +02:00
Nocturn9x a48b4529cd
Updated SSL socket test to use timeouts 2023-04-22 12:55:38 +02:00
Nocturn9x cfb91beb68
Added support for timeouts 2023-04-22 12:52:44 +02:00
Nocturn9x 509b555628
Added many fixes for exception propagation and SIGINT handling 2023-04-22 12:26:37 +02:00
Nocturn9x e730f7f27a
I/O and Ctrl+C fixes 2023-03-28 14:42:41 +02:00
Nocturn9x d80fe45959 Original SIGINT handler is restored upon exit 2023-03-02 14:40:06 +01:00
Nocturn9x 6c91129ab6 Half-assed fix for Ctrl+C 2023-03-02 14:38:14 +01:00
Nocturn9x f81071f3b2 Fixes to cancellation 2023-02-22 17:43:14 +01:00
Nocturn9x 0560298f0f Fixed cancellation mechanism 2023-02-22 14:06:54 +01:00
Nocturn9x 4e41e46975 Added SSL socket test 2023-02-22 12:18:58 +01:00
Nocturn9x a1b40bd340 Various bug fixes 2023-02-22 12:18:45 +01:00
Nocturn9x 3ac6ea58cb Fixed most bugs with I/O (except dangling resources) 2022-11-11 18:01:42 +01:00
Nocturn9x acc436d518 Fixes/additions to I/O mechanism, bugs still exist in network_channel test 2022-11-11 17:39:11 +01:00
Nocturn9x 7b134f9a1d Added chatroom server example 2022-11-02 09:37:22 +01:00
Nocturn9x cca2ec15a5 Fixed async I/O and added echo server test 2022-11-02 09:34:44 +01:00
Nocturn9x 1530b54fc5 Minor changes 2022-11-02 09:28:57 +01:00
Nocturn9x ff2acf298f Various fixes for exception handling in contexts 2022-11-02 09:28:04 +01:00
Mattia Giambirtone ce1583e9c2 Minor style changes 2022-10-19 19:52:04 +02:00
Mattia Giambirtone 99656eedbe Updated I/O mechanism and task synchronization primitives 2022-10-19 15:28:06 +02:00
Nocturn9x 8f3d7056b7 Ported NetworkChannel and related test from giambio 2022-10-19 12:22:02 +02:00
Nocturn9x 3b81702c2b Ported network primitives from giambio 2022-10-19 12:07:49 +02:00
Nocturn9x 4a974ab06d Added more task synchronization primitives (Queue, Channel) and related tests 2022-10-19 12:02:40 +02:00
Nocturn9x c2bb63149b Added Event class and reformatted with black 2022-10-19 11:54:32 +02:00
Nocturn9x 3021544e7f Typos + minor module refactoring 2022-10-19 11:39:50 +02:00
Nocturn9x 844e65fa3a Minor change to documentation 2022-10-19 11:38:27 +02:00
Nocturn9x 07b8337a46 Minor change to documentation 2022-10-19 11:37:45 +02:00
Nocturn9x 6690263b55 Work on context exception handling 2022-10-19 11:31:45 +02:00
Nocturn9x ca1e8a157b TaskContext now calls Task.__init__() 2022-10-18 17:29:31 +02:00
Nocturn9x f3ff5fcec5 Initial work on task contexts 2022-10-18 17:26:58 +02:00
Nocturn9x 989981b746 Changes to motto (lol) 2022-10-18 15:59:53 +02:00
Nocturn9x 49e4de1d6d Added license 2022-10-18 15:58:10 +02:00
Nocturn9x 7d05e4e704 Added .idea 2022-10-18 15:56:29 +02:00
Nocturn9x 4428c80103 Initial work 2022-10-18 15:55:43 +02:00
Nocturn9x 5e328f8a1c Added README 2022-10-18 15:55:13 +02:00
Nocturn9x a67d091aa0 Added .gitignore 2022-10-18 15:55:02 +02:00