Commit Graph

35 Commits

Author SHA1 Message Date
Mattia Giambirtone 6d089d7d5f Various fixes for I/O, timeouts, cancellation and more. Need to fix task_ipc2.py which is broken for some reason 2022-09-01 13:18:15 +02:00
Mattia Giambirtone 07b6621796 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	giambio/context.py
#	giambio/core.py
#	giambio/runtime.py
#	giambio/sync.py
#	tests/queue.py
#	tests/timeout.py
2022-05-14 11:16:59 +02:00
Nocturn9x ad34be8754 Added locks 2022-05-10 11:56:47 +02:00
Nocturn9x b8ee9945c1 Minor changes 2022-02-27 14:01:07 +01:00
Nocturn9x 3ec0864734 Added experimental memory channels 2022-02-27 13:39:32 +01:00
Mattia Giambirtone 5c05de495d Fixed some issues with join() not properly rescheduling its caller when appropriate 2022-02-05 16:14:21 +01:00
Nocturn9x a0d376bb35 Added chatroom example and initial work on (semi-broken) async Queue implementation 2022-02-04 20:19:48 +01:00
Nocturn9x f7fbad931a (Hopefully) Fixed issues with blockinb I/O and timeouts 2022-02-04 11:56:15 +01:00
nocturn9x 4e1d328df4 Fixed bug with sleeping from the main task 2021-10-09 14:35:41 +02:00
nocturn9x 0b8e1487c7 Several fixes to nested pools, cancellation, timeouts and more. Fixed SSL I/O (WIP) 2021-08-28 23:26:24 +02:00
nocturn9x 44a07521b2 Beautified and simplified some code + README additions 2021-07-22 11:13:08 +02:00
nocturn9x 9128cd9759 Breaking changes: do not use 2021-06-08 17:21:59 +02:00
nocturn9x f55826d534 Moved socket functionality out of the loop and added some more functions to the socket module (updating examples) 2021-04-23 09:17:55 +02:00
nocturn9x 5b403703db Added some documentation, a test for timeouts and fixed some bugs with I/O 2020-12-20 15:58:53 +01:00
nocturn9x 40bcebbf5a Started to work on giambio.with_timeout and fixed a little bug with deferred cancellation 2020-11-29 20:16:08 +01:00
nocturn9x 7a840d88be I/O seems to be working now, but further investigation is needed 2020-11-29 12:46:08 +01:00
nocturn9x 4618c8cc79 Exceptions and cancellation seem to be working (except for server.py inside tests, investigation needed) 2020-11-26 16:57:20 +01:00
nocturn9x d60a372af5 Updated README, added debugging utility and simplified example 2020-11-18 12:13:46 +01:00
nocturn9x 70646a4767 Added some exclude paths to gitignore 2020-11-17 10:54:18 +01:00
nocturn9x 497ef45307 Fixed events + Added some TODOs 2020-11-16 23:06:54 +01:00
nocturn9x 981a598ae7 Various improvements to async pools 2020-11-16 08:07:19 +01:00
nocturn9x 7b4051f3b9 Starting to work on async pools 2020-11-14 10:42:46 +01:00
nocturn9x 0b1c5d75e7 Major library refactoring, made event loops thread-local (no need to carry scheduler objects around anymore) and fixed some bugs related to I/O. Made events simpler as they would overlap with a future implementation of channels 2020-11-13 10:44:47 +01:00
nocturn9x 3e4a87af21 Formatted code following black style 2020-07-13 22:02:31 +02:00
nocturn9x 979e9959c6 Added the Event class and related functionality, polished the loop code 2020-07-07 13:17:12 +00:00
nocturn9x fbee6c6f96 Added various exceptions layers 2020-07-05 06:58:23 +00:00
nocturn9x 5c5beeef22 Temporary 'meh' fix to allow exception propagation to occur, deleted old _managers.py module and refactored comments and docstrings 2020-06-19 21:39:54 +00:00
nocturn9x d16c0932ac Attempt to reimplement TaskManager, exceptions not working 2020-06-17 13:58:00 +00:00
nocturn9x 1b958b0341 Major refactoring, cancellation needs a fix 2020-06-16 16:56:11 +00:00
nocturn9x 9f4346b430 Major change in the API 2020-03-25 18:37:57 +01:00
nocturn9x 0e29cb7e8a Added context manager functionality and other related features 2020-03-25 13:39:32 +00:00
nocturn9x c6e04a5057 Added a small README and divided the lib into multiple files 2020-03-24 13:19:10 +00:00
nocturn9x 1308135f12 Small refactoring to the sleep method that can now act as a checkpoint, added some docstrings 2020-03-24 08:42:29 +01:00
nocturn9x 25c404c961 Added file for experiments with the framework 2020-03-20 18:06:12 +01:00
nocturn9x b059125991 Improved features, still needs fix 2020-03-19 18:48:24 +00:00