[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden: Re: emacs-22.1 with GTK dumps core when Gnome wigets
From: |
YAMAMOTO Mitsuharu |
Subject: |
Re: address@hidden: Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked] |
Date: |
Thu, 21 Jun 2007 20:36:55 +0900 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.1.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) |
>>>>> On Thu, 21 Jun 2007 12:13:29 +0200, Jan Djärv <address@hidden> said:
> The patch was corrupted by some mailer so I could not apply it, but:
> ! /* Copy the value of __malloc_hook to an automatic variable in case
> ! __malloc_hook is modified in another thread between its
> ! NULL-check and the use. */
> ! hook = __malloc_hook;
> ! return (hook != NULL ? *hook : _malloc_internal) (size);
> }
> Assignment is not guaranteed to be atomic. It probably is on 32-bit systems,
> but you should not assume it.
Maybe. But malloc in glibc 2.5 also does the same thing and I suspect
that we cannot do better as long as we try to keep the same interface
with respect to __malloc_hook etc.
YAMAMOTO Mitsuharu
address@hidden
- address@hidden: Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked], Richard Stallman, 2007/06/17
- Re: address@hidden: Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked], YAMAMOTO Mitsuharu, 2007/06/17
- Re: address@hidden: Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked], Jan Djärv, 2007/06/21
- Re: address@hidden: Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked],
YAMAMOTO Mitsuharu <=
- Re: address@hidden: Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked], Ken Raeburn, 2007/06/25
- Re: address@hidden: Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked], YAMAMOTO Mitsuharu, 2007/06/25
- Re: address@hidden: Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked], Ken Raeburn, 2007/06/25
- Re: address@hidden: Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked], YAMAMOTO Mitsuharu, 2007/06/25
- Re: address@hidden: Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked], Richard Stallman, 2007/06/25
- Re: address@hidden: Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked], YAMAMOTO Mitsuharu, 2007/06/25
- Re: address@hidden: Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked], Richard Stallman, 2007/06/26
- Re: address@hidden: Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked], Richard Stallman, 2007/06/25
- Re: address@hidden: Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked], Stefan Monnier, 2007/06/25
- Re: address@hidden: Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked], Chong Yidong, 2007/06/25