summaryrefslogtreecommitdiff
path: root/test/ruby/test_thread.rb
diff options
context:
space:
mode:
authorHASUMI Hitoshi <hasumikin@gmail.com>2024-02-27 14:25:22 +0900
committergit <svn-admin@ruby-lang.org>2024-03-04 16:40:23 +0000
commitc4bd6da2988ecdf3e6d00be78e58a4eba6192bed (patch)
treef5cc0976ae7ff16bac9913f02ec4d32adef41160 /test/ruby/test_thread.rb
parent61ea202f8b10060e000f79a936e5e608eacb50ee (diff)
[ruby/prism] Make alloc interface replaceable
- Add `x` prefix to malloc, calloc, realloc, and free (eg: malloc -> xmalloc) - By default, they are replaced with stdlib's functions at build - You can use custom functions by defining `PRISM_CUSTOM_ALLOCATOR` macro https://github.com/ruby/prism/commit/7a878af619
Diffstat (limited to 'test/ruby/test_thread.rb')
0 files changed, 0 insertions, 0 deletions