[sheepdog] [PATCH 0/2] introduce wrappers of pthread_mutex_* and pthread_cond_*

Liu Yuan namei.unix at gmail.com
Thu Dec 26 04:38:55 CET 2013


On Wed, Dec 25, 2013 at 10:34:37PM +0900, Hitoshi Mitake wrote:
> This patchset introduces new wrappers for pthread_mutex_* stuff and
> pthread_cond_* stuff.
> 
> The first one renames existing wrappers of pthread_rwlock_* things. Currently,
> the naming convention based on "sd_lock" is used for the wrappers. The name is
> confusing if we add new wrappers based on "sd_mutex". So the first one renames
> the existing wrappers from "sd_lock" to "sd_rw_lock".
> 
> The second one adds new wrappers for pthread_mutex_*. It also adds new wrappers
> for pthread_cond_*. Because we don't use pthread_mutex_* directly, we also need
> to wrap pthread_cond_* for pthread_cond_wait().
> 
> Hitoshi Mitake (2):
>   lib: rename wrappers of pthread_rwlock
>   lib: introduce new wrappers for pthread_mutex and pthread_cond

Applied thanks

Yuan



More information about the sheepdog mailing list