Commit Graph

32 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 3ec0864734 Added experimental memory channels 2022-02-27 13:39:32 +01:00
Nocturn9x 3eb6844848 Hopefully fixed giambio.Queue 2022-02-26 21:59:18 +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 594c69ed84 Moved the queueing mechanism to use events instead of event loop hacks 2022-02-05 13:00:55 +01:00
Nocturn9x 51d01ba44e Minor fixes to chatroom test. Hopefully fixed queue 2022-02-05 12:37:05 +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 b9ed99e3ee Fixed self._data-based methods 2021-08-27 10:32:42 +02:00
nocturn9x 9bb091cdef Fixed nested pools (sorta?) 2021-08-26 16:19:40 +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 95a9300da8 Moved some code around, added more socket methods and fixed I/O for SSL sockets (hopefully) 2021-06-03 16:34:26 +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 29683f9067 Fixed some bugs with exception propagation and other stuff. I/O is significantly broken on the exceptions' side 2020-12-19 15:18:12 +01:00
nocturn9x 98c9440115 Fixed lots of minor bugs (and created some new bugs, of course). Pool-level cancellation is broken, but everything else seems to work given the current tests 2020-12-05 17:09:59 +01:00
nocturn9x 899e12ead7 Added initial support for nested pools and added related tests. Added a couple more tests and separated the debugger class in a separate module. Unified want_read and want_write into a unique read_or_write method 2020-11-28 13:04:27 +01:00
nocturn9x 2429cbb863 Fixed some bugs with exceptions and propagations, I/O is broken 2020-11-27 21:52:45 +01:00
nocturn9x caee01977e Cancellation/Exceptions almost complete 2020-11-22 14:35:07 +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 10c1b33e20 join() partially fixed 2020-11-16 21:49:13 +01:00
nocturn9x 981a598ae7 Various improvements to async pools 2020-11-16 08:07:19 +01:00
nocturn9x 1b958b0341 Major refactoring, cancellation needs a fix 2020-06-16 16:56:11 +00:00
nocturn9x 1eec3d3078 Various fixes, check experiment.py file 2020-04-05 10:10:52 +00:00
nocturn9x f9eb329ec9 Many fixes, many TODOs added 2020-03-25 22:36:17 +00:00
nocturn9x 9f4346b430 Major change in the API 2020-03-25 18:37:57 +01:00
nocturn9x cdbf6d8ce1 Improved the API 2020-03-25 14:09:39 +00:00
nocturn9x 0e29cb7e8a Added context manager functionality and other related features 2020-03-25 13:39:32 +00:00
nocturn9x c5da08a140 Partial fix to the cancel method 2020-03-25 11:27:29 +01:00
nocturn9x c6e04a5057 Added a small README and divided the lib into multiple files 2020-03-24 13:19:10 +00:00