<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/scheduler.c, branch v3_4_9</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Use `ec-&gt;interrupt_mask` to prevent interrupts. [Backport #21610]</title>
<updated>2025-09-18T03:24:02+00:00</updated>
<author>
<name>Samuel Williams</name>
<email>samuel.williams@oriontransfer.co.nz</email>
</author>
<published>2025-09-18T03:24:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e900e9fc9ace5e36de5170c83df0f56167e4c8a9'/>
<id>e900e9fc9ace5e36de5170c83df0f56167e4c8a9</id>
<content type='text'>
Disallow pending interrupts to be checked during `FiberScheduler#unblock`.

Ractors can send signals at any time, so the previous debug assertion can fail if a Ractor sends a signal.

Co-authored-by: Luke Gruber &lt;luke.gruber@shopify.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Disallow pending interrupts to be checked during `FiberScheduler#unblock`.

Ractors can send signals at any time, so the previous debug assertion can fail if a Ractor sends a signal.

Co-authored-by: Luke Gruber &lt;luke.gruber@shopify.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) 04ec07794657cd2444ecb001a522b9df2db1b90a: [Backport #21038]</title>
<updated>2025-02-14T05:09:15+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2025-02-14T05:09:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2108ab2cb68e9d975e4dcf035a11243e1173336f'/>
<id>2108ab2cb68e9d975e4dcf035a11243e1173336f</id>
<content type='text'>
	Preserve `errno` in `rb_fiber_scheduler_unblock`. (#12576)

	[Bug #21038]

	Co-authored-by: Julian Scheid &lt;julians37@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Preserve `errno` in `rb_fiber_scheduler_unblock`. (#12576)

	[Bug #21038]

	Co-authored-by: Julian Scheid &lt;julians37@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Have RDoc pick up Fiber::Scheduler#blocking_operation_wait</title>
<updated>2024-12-13T19:21:46+00:00</updated>
<author>
<name>Alan Wu</name>
<email>XrXr@users.noreply.github.com</email>
</author>
<published>2024-12-13T19:21:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5ed1dac21eab6861ea7e9b9501dd3db149577d3b'/>
<id>5ed1dac21eab6861ea7e9b9501dd3db149577d3b</id>
<content type='text'>
... and list it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... and list it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update `scheduler.c` to use `RUBY_ASSERT`. (#12129)</title>
<updated>2024-11-20T23:00:55+00:00</updated>
<author>
<name>Samuel Williams</name>
<email>samuel.williams@oriontransfer.co.nz</email>
</author>
<published>2024-11-20T23:00:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=03ff7db5fe1eaab9b9569185017f6ae87d36ac0e'/>
<id>03ff7db5fe1eaab9b9569185017f6ae87d36ac0e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce `Fiber::Scheduler#blocking_operation_wait`. (#12016)</title>
<updated>2024-11-20T06:40:17+00:00</updated>
<author>
<name>Samuel Williams</name>
<email>samuel.williams@oriontransfer.co.nz</email>
</author>
<published>2024-11-20T06:40:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9c268302bfb4890d3757caa60981802a88bfbd89'/>
<id>9c268302bfb4890d3757caa60981802a88bfbd89</id>
<content type='text'>
Redirect `rb_nogvl` blocking operations to the fiber scheduler if possible
to prevent stalling the event loop.

[Feature #20876]</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Redirect `rb_nogvl` blocking operations to the fiber scheduler if possible
to prevent stalling the event loop.

[Feature #20876]</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Introduce Fiber Scheduler `blocking_region` hook. (#11963)" (#12013)</title>
<updated>2024-11-06T09:19:40+00:00</updated>
<author>
<name>Samuel Williams</name>
<email>samuel.williams@oriontransfer.co.nz</email>
</author>
<published>2024-11-06T09:19:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3b9896acfcaf992ac233578ca8ec5bb69978de4a'/>
<id>3b9896acfcaf992ac233578ca8ec5bb69978de4a</id>
<content type='text'>
This reverts some of commit 87fb44dff6409a19d12052cf0fc07ba80a4c45ac.

We will rename and propose a slightly different interface.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts some of commit 87fb44dff6409a19d12052cf0fc07ba80a4c45ac.

We will rename and propose a slightly different interface.</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce Fiber Scheduler `blocking_region` hook. (#11963)</title>
<updated>2024-10-31T04:26:37+00:00</updated>
<author>
<name>Samuel Williams</name>
<email>samuel.williams@oriontransfer.co.nz</email>
</author>
<published>2024-10-31T04:26:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=87fb44dff6409a19d12052cf0fc07ba80a4c45ac'/>
<id>87fb44dff6409a19d12052cf0fc07ba80a4c45ac</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix exception handling in `rb_fiber_scheduler_set`. (#10042)</title>
<updated>2024-02-21T11:33:18+00:00</updated>
<author>
<name>Samuel Williams</name>
<email>samuel.williams@oriontransfer.co.nz</email>
</author>
<published>2024-02-21T11:33:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=04729fe68dceddab045be7324e26c2bb15aa62c7'/>
<id>04729fe68dceddab045be7324e26c2bb15aa62c7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Fix method docs of scheduler#io_read and scheduler#io_write</title>
<updated>2023-09-10T10:39:28+00:00</updated>
<author>
<name>kudojp</name>
<email>heyjudejudejude1968@gmail.com</email>
</author>
<published>2023-09-09T06:50:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0e49f8173a854bfa826c7b772d6fd990f6c75d0c'/>
<id>0e49f8173a854bfa826c7b772d6fd990f6c75d0c</id>
<content type='text'>
Each of Fiber::Scheduler#io_read and io_write takes the "offset" as the fourth argument, which is not doucmented.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Each of Fiber::Scheduler#io_read and io_write takes the "offset" as the fourth argument, which is not doucmented.
</pre>
</div>
</content>
</entry>
<entry>
<title>Support `IO#pread` / `IO#pwrite` using fiber scheduler. (#7594)</title>
<updated>2023-03-30T11:48:55+00:00</updated>
<author>
<name>Samuel Williams</name>
<email>samuel.williams@oriontransfer.co.nz</email>
</author>
<published>2023-03-30T11:48:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=648870b5c577239b3274b0b48c82fb74910dfabf'/>
<id>648870b5c577239b3274b0b48c82fb74910dfabf</id>
<content type='text'>
* Skip test if non-blocking file IO is not supported.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Skip test if non-blocking file IO is not supported.</pre>
</div>
</content>
</entry>
</feed>
