[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 15/15] libxl: New event generation API

Ian Campbell writes ("Re: [Xen-devel] [PATCH 15/15] libxl: New event generation 
> Stepping back a bit: Since the lock is recursive do we really need the
> unlocked version? All the callers of event_check_unlocked (apart from
> libxl_event_check) could call libxl_event_check instead.

Well, we have to have an internal version because we don't want to
call GC_INIT again, obviously.  Since the callers all take the lock
the internal version doesn't have to.

It would be possible to have these functions pointlessly reacquire the
lock, I guess, and rename it to "beforepoll_internal" etc.


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.