<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/ruby_atomic.h, branch v3_3_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<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>
<entry>
<title>fix typo [Bug #17194]</title>
<updated>2020-09-26T09:24:28+00:00</updated>
<author>
<name>NARUSE, Yui</name>
<email>naruse@airemix.jp</email>
</author>
<published>2020-09-26T09:24:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ce92d15596aab337b5e8b806603eb07ad6528ff2'/>
<id>ce92d15596aab337b5e8b806603eb07ad6528ff2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Solaris does not provide atomic_sub family</title>
<updated>2020-04-26T13:39:36+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2020-04-26T13:39:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=257e01b61db90ecf3a53957281770b5f3db3f919'/>
<id>257e01b61db90ecf3a53957281770b5f3db3f919</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Clarified return value of atomic macros</title>
<updated>2020-04-26T10:41:12+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2020-04-26T10:34:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1760c60174b80e837371a19ec13b1148629262cb'/>
<id>1760c60174b80e837371a19ec13b1148629262cb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed phony atomic operations for void* and VALUE</title>
<updated>2020-04-20T12:14:04+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2020-04-20T12:13:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e571bb8436502b1bce54a1e41c40ef682e05c555'/>
<id>e571bb8436502b1bce54a1e41c40ef682e05c555</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bail out if no atomic operation found</title>
<updated>2020-04-20T03:33:37+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2020-04-20T01:44:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=20773a109029ba4464d7749d38a311f880a73293'/>
<id>20773a109029ba4464d7749d38a311f880a73293</id>
<content type='text'>
As atomic operations are mandatory now, not-working phony fallback
definitions are not only useless but confusing and harmful.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As atomic operations are mandatory now, not-working phony fallback
definitions are not only useless but confusing and harmful.
</pre>
</div>
</content>
</entry>
<entry>
<title>fine-grained #ifdef guard for Sparc systems</title>
<updated>2020-02-06T02:46:51+00:00</updated>
<author>
<name>卜部昌平</name>
<email>shyouhei@ruby-lang.org</email>
</author>
<published>2020-01-31T06:07:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=34fd7241e445764837ec9fc700af65a0f73e8ce5'/>
<id>34fd7241e445764837ec9fc700af65a0f73e8ce5</id>
<content type='text'>
There are cases when sizeof(int) == sizeof(long) == sizeof(size_t).  On
such cases however int and long are incompatible types in theory.  We
should not assume typedef long size_t, because on Solaris size_t is
actually a typedef of int.

This reduces compiler warnings on such situations.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are cases when sizeof(int) == sizeof(long) == sizeof(size_t).  On
such cases however int and long are incompatible types in theory.  We
should not assume typedef long size_t, because on Solaris size_t is
actually a typedef of int.

This reduces compiler warnings on such situations.
</pre>
</div>
</content>
</entry>
<entry>
<title>add several __has_something macro</title>
<updated>2019-12-26T11:45:12+00:00</updated>
<author>
<name>卜部昌平</name>
<email>shyouhei@ruby-lang.org</email>
</author>
<published>2019-12-02T05:58:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0958e19ffb047781fe1506760c7cbd8d7fe74e57'/>
<id>0958e19ffb047781fe1506760c7cbd8d7fe74e57</id>
<content type='text'>
With these macros implemented we can write codes just like we can assume
the compiler being clang.  MSC_VERSION_SINCE is defined to implement
those macros, but turned out to be handy for other places.  The -fdeclspec
compiler flag is necessary for clang to properly handle __has_declspec().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With these macros implemented we can write codes just like we can assume
the compiler being clang.  MSC_VERSION_SINCE is defined to implement
those macros, but turned out to be handy for other places.  The -fdeclspec
compiler flag is necessary for clang to properly handle __has_declspec().
</pre>
</div>
</content>
</entry>
<entry>
<title>move atomic logic from mjit.c from ruby_atomic.h</title>
<updated>2018-08-01T03:40:37+00:00</updated>
<author>
<name>shyouhei</name>
<email>shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2018-08-01T03:40:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e62214be87a53045dbec187c66e208bc303e0f60'/>
<id>e62214be87a53045dbec187c66e208bc303e0f60</id>
<content type='text'>
This macro shall be shared among other files, not just for mjit.c.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This macro shall be shared among other files, not just for mjit.c.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>(cosmetic) add blank lines for better readability</title>
<updated>2018-08-01T02:55:11+00:00</updated>
<author>
<name>shyouhei</name>
<email>shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2018-08-01T02:55:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=740a1706c8a5428b8763efb430afdd17f80190e8'/>
<id>740a1706c8a5428b8763efb430afdd17f80190e8</id>
<content type='text'>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
</feed>
