[#61424] [REJECT?] xmalloc/xfree: reduce atomic ops w/ thread-locals — Eric Wong <normalperson@...>

I'm unsure about this. I _hate_ the extra branches this adds;

13 messages 2014/03/12

[ruby-core:61201] Re: [ruby-trunk - Bug #9586] [Open] Unable to build Ruby 2.1.1 on NetBSD

From: Eric Wong <normalperson@...>
Date: 2014-03-01 21:54:01 UTC
List: ruby-core #61201
djberg96@gmail.com wrote:
> compiling thread.c
> In file included from thread.c:230:0:
> thread_pthread.c: In function 'thread_timer':
> thread_pthread.c:1440:5: warning: passing argument 1 of 'pthread_setname_np' from incompatible pointer type
> /usr/include/pthread.h:133:5: note: expected 'pthread_t' but argument is of type 'const char *'
> thread_pthread.c:1440:5: error: too few arguments to function 'pthread_setname_np'
> /usr/include/pthread.h:133:5: note: declared here

Can you try trunk?   r45204, r45202, r45190, r44925 may all help.

In This Thread

Prev Next