зеркало из https://github.com/github/ruby.git
* signal.c(ruby_atomic_exchange): Fix definement style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
dea3113ab3
Коммит
e6f4c92f6d
|
@ -1,3 +1,7 @@
|
|||
Wed Jun 23 13:30:30 2011 Shota Fukumori <sorah@tubusu.net>
|
||||
|
||||
* signal.c(ruby_atomic_exchange): Fix definement style.
|
||||
|
||||
Wed Jun 22 22:34:05 2011 Hiroshi Nakamura <nahi@ruby-lang.org>
|
||||
|
||||
* ext/openssl/ossl_ssl.c (ossl_sslctx_session_new_cb): Return 0 to
|
||||
|
|
3
signal.c
3
signal.c
|
@ -19,7 +19,8 @@
|
|||
#include "atomic.h"
|
||||
|
||||
#if !defined(_WIN32) && !defined(HAVE_GCC_ATOMIC_BUILTINS)
|
||||
rb_atomic_t ruby_atomic_exchange(rb_atomic_t *ptr, rb_atomic_t val)
|
||||
rb_atomic_t
|
||||
ruby_atomic_exchange(rb_atomic_t *ptr, rb_atomic_t val)
|
||||
{
|
||||
rb_atomic_t old = *ptr;
|
||||
*ptr = val;
|
||||
|
|
Загрузка…
Ссылка в новой задаче