<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/include/ruby/atomic.h, 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>Include windows.h for `LONG` and `Interlocked` functions</title>
<updated>2024-11-02T13:27:03+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-11-02T13:27:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e2909570bb00c7c6056638b71c1d3c363dc0d40d'/>
<id>e2909570bb00c7c6056638b71c1d3c363dc0d40d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Cast `RUBY_ATOMIC_PTR_CAS` arguments</title>
<updated>2024-06-07T01:42:41+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-06-06T01:32:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0396050f5a927f6f32c9eebd8549d38c8255c14a'/>
<id>0396050f5a927f6f32c9eebd8549d38c8255c14a</id>
<content type='text'>
As well as `RUBY_ATOMIC_PTR_EXCHANGE` and `RUBY_ATOMIC_PTR_LOAD`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As well as `RUBY_ATOMIC_PTR_EXCHANGE` and `RUBY_ATOMIC_PTR_LOAD`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Win32: Fix pre-defined macros for platforms</title>
<updated>2024-02-11T10:43:06+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-02-11T10:43:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c77f736bc1e6b73d62e9ba3dcf3dcbeff0657b38'/>
<id>c77f736bc1e6b73d62e9ba3dcf3dcbeff0657b38</id>
<content type='text'>
Use `_WIN64` for word-size, `_M_AMD64` for CPU-specific feature.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use `_WIN64` for word-size, `_M_AMD64` for CPU-specific feature.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add RUBY_ATOMIC_{PTR_,}FETCH macros for atomic loads</title>
<updated>2023-12-10T06:00:37+00:00</updated>
<author>
<name>KJ Tsanaktsidis</name>
<email>kj@kjtsanaktsidis.id.au</email>
</author>
<published>2023-11-19T11:54:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=aecbd66742f43ccfcac04ca4143fcc68ad834320'/>
<id>aecbd66742f43ccfcac04ca4143fcc68ad834320</id>
<content type='text'>
This can already be emulated by doing an atomic fetch_add of zero, but
this is more explicit.

[Bug #19994]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This can already be emulated by doing an atomic fetch_add of zero, but
this is more explicit.

[Bug #19994]
</pre>
</div>
</content>
</entry>
<entry>
<title>Align the implementation precedences with `rb_atomic_t` definition</title>
<updated>2021-09-24T01:11:32+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-09-24T01:05:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=63297c2ca494661bdf5536a3c5d3a1c8d68d2d64'/>
<id>63297c2ca494661bdf5536a3c5d3a1c8d68d2d64</id>
<content type='text'>
On MinGW, where both of Win32 API and GCC built-ins are available,
the mismatch of implementations to the definition caused lots of
warnings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On MinGW, where both of Win32 API and GCC built-ins are available,
the mismatch of implementations to the definition caused lots of
warnings.
</pre>
</div>
</content>
</entry>
<entry>
<title>include/ruby/atomic.h: rework</title>
<updated>2021-09-22T07:37:13+00:00</updated>
<author>
<name>卜部昌平</name>
<email>shyouhei@ruby-lang.org</email>
</author>
<published>2021-09-15T07:46:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ecaf3a391d7f84ea8893d75940c1958aa2374b68'/>
<id>ecaf3a391d7f84ea8893d75940c1958aa2374b68</id>
<content type='text'>
Reduce macros to do the same things in inline functions instead.  This
way assertions can be made granular.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reduce macros to do the same things in inline functions instead.  This
way assertions can be made granular.
</pre>
</div>
</content>
</entry>
<entry>
<title>include/ruby/atomic.h: add doxygen</title>
<updated>2021-09-15T00:25:23+00:00</updated>
<author>
<name>卜部昌平</name>
<email>shyouhei@ruby-lang.org</email>
</author>
<published>2021-09-14T07:25:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=63ab2fedc86e463cb5132e19c285f5c3442ca5f7'/>
<id>63ab2fedc86e463cb5132e19c285f5c3442ca5f7</id>
<content type='text'>
Must not be a bad idea to improve documents. [ci skip]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Must not be a bad idea to improve documents. [ci skip]
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed a typo in a comment [ci skip]</title>
<updated>2021-03-07T01:21:03+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-03-07T01:21:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1d1b9e02d26f5f9834b7967e46e853aaf1ffc815'/>
<id>1d1b9e02d26f5f9834b7967e46e853aaf1ffc815</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use RBIMPL_COMPILER_{SINCE,BEFORE} for MSVC</title>
<updated>2020-12-24T07:22:50+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2020-12-24T07:16:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b343d547923cf29456910b20fcd1c0a58ed68176'/>
<id>b343d547923cf29456910b20fcd1c0a58ed68176</id>
<content type='text'>
Pointed out by @shyouhei.

NOTE: Already we have dropped the support for older MSVCs,
probably prior to 1300 or 1400.  Remove the conditional code,
especially in win32/Makefile.sub.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pointed out by @shyouhei.

NOTE: Already we have dropped the support for older MSVCs,
probably prior to 1300 or 1400.  Remove the conditional code,
especially in win32/Makefile.sub.
</pre>
</div>
</content>
</entry>
<entry>
<title>Expose atomic operation macros with RUBY prefix</title>
<updated>2020-12-24T02:43:21+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2020-12-23T05:09:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6ed6b85ece8733518a7da0c3ec714f20d1102bf5'/>
<id>6ed6b85ece8733518a7da0c3ec714f20d1102bf5</id>
<content type='text'>
Now we need atomic operations, which are lighter than mutex, more
widely for extension libraries because of Ractor.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now we need atomic operations, which are lighter than mutex, more
widely for extension libraries because of Ractor.
</pre>
</div>
</content>
</entry>
</feed>
