[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lock module improvement
From: |
Yoann Vandoorselaere |
Subject: |
Re: Lock module improvement |
Date: |
Mon, 04 Aug 2008 16:53:55 +0200 |
Le dimanche 03 août 2008 à 20:46 +0200, Bruno Haible a écrit :
> Yoann Vandoorselaere wrote:
> > > Declaration: gl_lock_define(extern, name)
> > > Initializer: gl_lock_define_initialized(, name)
> > > Initialization: gl_lock_init (name);
> > > Taking the lock: gl_lock_lock (name);
> > > Releasing the lock: gl_lock_unlock (name);
> > > De-initialization: gl_lock_destroy (name);
> > >
> > > What should be the names of the 4 inline functions?
> >
> > In the current lock.c implementation, the glthread_ prefix is being
> > used, so we could keep using this scheme, keeping the current gl_ prefix
> > for macros, and using the following for inline function:
> >
> > int glthread_lock_lock(name);
> > int glthread_lock_unlock(name);
> > int glthread_lock_destroy(name);
>
> Sounds good. I'm applying this change.
Thanks!
--
Yoann Vandoorselaere <address@hidden>
- Re: Lock module improvement, Yoann Vandoorselaere, 2008/08/01
- Re: Lock module improvement, Bruno Haible, 2008/08/02
- Re: Lock module improvement, Yoann Vandoorselaere, 2008/08/02
- Re: Lock module improvement, Bruno Haible, 2008/08/03
- Re: Lock module improvement,
Yoann Vandoorselaere <=
- Re: Lock module improvement, Bruno Haible, 2008/08/14
- Re: Lock module improvement, Bruno Haible, 2008/08/17
- Re: Lock module improvement, Bruno Haible, 2008/08/18
- Re: Lock module improvement, Yoann Vandoorselaere, 2008/08/18
- Re: multithread CPPFLAGS, Bruno Haible, 2008/08/20
- Re: multithread CPPFLAGS, Yoann Vandoorselaere, 2008/08/21
- Re: multithread CPPFLAGS, Bruno Haible, 2008/08/21
- Re: multithread CPPFLAGS, Yoann Vandoorselaere, 2008/08/21
- Re: multithread CPPFLAGS, Matthew Woehlke, 2008/08/21
- Re: multithread CPPFLAGS, Yoann Vandoorselaere, 2008/08/25