Nobuyoshi Nakada
f42230ff22
Adjust styles [ci skip]
2022-07-27 18:42:27 +09:00
Alex Matchneer
dbb227d3b6
[DOC] add missing size params in fiber scheduler.h ( #5441 )
2022-04-14 07:34:49 +12:00
Kazuhiro NISHIYAMA
04f07713d1
Fix typos [ci skip]
2021-12-25 10:33:49 +09:00
Samuel Williams
acfe2f2655
Improvements to rb_io_wait
return value handling and internal implementation. ( #5340 )
2021-12-24 23:11:02 +13:00
Samuel Williams
bed920f073
Add fiber scheduler hooks for pread
/pwrite
, and add support to IO::Buffer
.
2021-12-23 12:20:09 +13:00
Samuel Williams
42d3231154
Introduce io_result wrapper for passing [-errno, size]
in VALUE.
2021-12-18 18:19:30 +13:00
Samuel Williams
4b89034218
IO::Buffer for scheduler interface.
2021-11-10 19:21:05 +13:00
卜部昌平
84b96298b3
include/ruby/fiber/scheduler.h: add doxygen
...
Must not be a bad idea to improve documents. [ci skip]
2021-09-10 20:00:06 +09:00
Samuel Williams
2792acc8f2
Add scheduler hook Addrinfo.getaddrinfo
. ( #4375 )
...
Co-authored-by: Bruno Sutic <code@brunosutic.com>
2021-06-14 16:21:08 +12:00
Samuel Williams
836da24e97
Fix symbol export.
2021-04-10 09:10:08 +12:00
Samuel Williams
3d32c21758
Disable public interface for now.
2021-03-30 18:38:42 +13:00
Samuel Williams
09c865d541
Fix native implementation.
...
# Conflicts:
# scheduler.c
2021-03-30 18:38:42 +13:00
Samuel Williams
4c53dc970b
Add hook for Timeout.timeout
.
2021-03-30 18:38:42 +13:00
Nobuyoshi Nakada
e7416b4c7e
Updated pre-prototype declarations
2021-02-09 17:11:14 +09:00
Samuel Williams
5f69a7f604
Expose scheduler as public interface & bug fixes. ( #3945 )
...
* Rename `rb_scheduler` to `rb_fiber_scheduler`.
* Use public interface if available.
* Use `rb_check_funcall` where possible.
* Don't use `unblock` unless the fiber was non-blocking.
2021-02-09 19:39:56 +13:00