ruby/ext/-test-/thread/lock_native_thread/extconf.rb
Koichi Sasada d578684989 rb_thread_lock_native_thread()
Introduce `rb_thread_lock_native_thread()` to allocate dedicated
native thread to the current Ruby thread for M:N threads.
This C API is similar to Go's `runtime.LockOSThread()`.

Accepted at https://github.com/ruby/dev-meeting-log/blob/master/2023/DevMeeting-2023-08-24.md
(and missed to implement on Ruby 3.3.0)
2024-02-21 15:38:29 +09:00

2 lines
83 B
Ruby

# frozen_string_literal: false
create_makefile("-test-/thread/lock_native_thread")