[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCH v2 3/3] lib/uklock: introduce UK_MUTEX_INITIALIZER
Hello Yuri, This patch seems fine. Reviewed-by: Sharan Santhanam <sharan.santhanam@xxxxxxxxx> Thanks & Regards Sharan On 1/9/19 12:33 PM, Yuri Volchkov wrote: Signed-off-by: Yuri Volchkov <yuri.volchkov@xxxxxxxxx> --- lib/uklock/include/uk/mutex.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/uklock/include/uk/mutex.h b/lib/uklock/include/uk/mutex.h index 88540eca..ff852b45 100644 --- a/lib/uklock/include/uk/mutex.h +++ b/lib/uklock/include/uk/mutex.h @@ -58,6 +58,9 @@ struct uk_mutex { struct uk_waitq wait; };+#define UK_MUTEX_INITIALIZER(name) \+ { 0, __WAIT_QUEUE_INITIALIZER((name).wait) } + void uk_mutex_init(struct uk_mutex *m);static inline void uk_mutex_lock(struct uk_mutex *m) _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |