err = _pl_AcknowledgeNativeNotify(self);
if ( self->type == EventQueueIsNative ) err = _pl_AcknowledgeNativeNotify(self);
PL_GetEvent(PLEventQueue* self){    PLEvent* event = NULL;    PRStatus err;    PRMonitor* mon;    if (self == NULL)    return NULL;    mon = self->monitor;    PR_EnterMonitor(mon);    err = _pl_AcknowledgeNativeNotify(self);    if (err) goto done;    if (!PR_CLIST_IS_EMPTY(&self->queue)) {    /* then grab the event and return it: */    event = PR_EVENT_PTR(self->queue.next);    PR_REMOVE_AND_INIT_LINK(&event->link);    }  done:    PR_ExitMonitor(mon);    return event;}