Messages in this thread | | | Date | Tue, 9 Apr 2013 18:18:30 -0400 | From | Steven Rostedt <> | Subject | Re: [PATCH v2 2/3] mutex: add support for reservation style locks, v2 |
| |
On Tue, Apr 02, 2013 at 06:59:14PM +0200, Peter Zijlstra wrote: > > So how about we call the thing something like: > > struct ww_mutex; /* wound/wait */
Reading this I can't help but think of Elmer Fudd saying "Round Robin" as "Wound Wobin"
-- Steve
> > int mutex_wound_lock(struct ww_mutex *); /* returns -EDEADLK */ > int mutex_wait_lock(struct ww_mutex *); /* does not fail */ >
| |