Commit ddeb2421 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Add comment about ObjSubscribeEvents() not being atomic.

parent f8936e78
......@@ -672,6 +672,10 @@ static VTAILQ_HEAD(,oev_entry) oev_list;
static pthread_rwlock_t oev_rwl;
static unsigned oev_mask;
/*
* NB: ObjSubscribeEvents() is not atomic:
* oev_mask is checked optimistically in ObjSendEvent()
*/
uintptr_t
ObjSubscribeEvents(obj_event_f *func, void *priv, unsigned mask)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment