Erlang Mailing Lists

Author Message

<  Erlang patches mailing list  ~  [PATCH] ethread: do not return from void ethr_atomic_set_rel

t
Posted: Fri Oct 29, 2010 11:46 am Reply with quote
User Joined: 30 Sep 2008 Posts: 133
Reported-by: Patrick Baggett <baggett.patrick@gmail.com>
---
erts/include/internal/ethread.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/erts/include/internal/ethread.h b/erts/include/internal/ethread.h
index 4a20569..fcac7df 100644
--- a/erts/include/internal/ethread.h
+++ b/erts/include/internal/ethread.h
@@ -757,7 +757,7 @@ ETHR_INLINE_FUNC_NAME_(ethr_atomic_set_relb)(ethr_atomic_t *var, long val)
#ifdef ETHR_HAVE_NATIVE_ATOMICS
ethr_native_atomic_set_relb(var, val);
#else
- return ETHR_INLINE_FUNC_NAME_(ethr_atomic_set)(var, val);
+ ETHR_INLINE_FUNC_NAME_(ethr_atomic_set)(var, val);
#endif
}


________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org

Post received from mailinglist
View user's profile Send private message
Guest
Posted: Fri Oct 29, 2010 1:39 pm Reply with quote
Guest
On Fri, Oct 29, 2010 at 1:46 PM, Tuncer Ayaz <tuncer.ayaz@gmail.com> wrote:
> Reported-by: Patrick Baggett <baggett.patrick@gmail.com>
> ---
> erts/include/internal/ethread.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)

Thanks! Will include in pu.

--
Björn Gustavsson, Erlang/OTP, Ericsson AB

________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org

Post received from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum