Hmm. Nathan, did you check against CVS?
I can't seem to get anoncvs working, but looking directly at event_set()
here:
http://cvs.sourceforge.net/viewcvs.py/levent/libevent/event.c?rev=1.45&view=markup
still exhibits the problem:
/* by default, we put new events into the middle priority */
ev->ev_pri = current_base->nactivequeues/2;
^^^^^^^^^^^^^^^^^^^^ what if current_base is null?
My problem is that I want to be able to use my library in an LD_PRELOAD
type situation, so I don't want to do anything with current_base. I want
to be able to create my own private base that I do with as I please, but
this seems impossible with the current code.
Nathan
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users