Well, if you only use event_base_init then current_base would never be written to and stay NULL. That would be something to check for in event_set and then you could set the priorities via event_set_base.
Niels On 3/27/06, Nathan Binkert <[EMAIL PROTECTED]> wrote: > > Hmm. I thought that there was an event_base_init now? I guess I did > > not commit that yet. > I had talked to you about event_base_init() and I even factored it out, > but the problem is that that alone is not that useful because event_set > doesn't work with it because of the way it is written. That's the problem > I am trying to solve. I just wanted to know what you wanted it to look > like. Should I make event_set not grab the default priority from > current_base? Should we make event_base_set more like the other > event_base_foo functions in that it takes all the same parameters, but > also takes a base? Should we create another function alltogether? (I > worry about that because of name confusion.) > > Nathan > > _______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkey.org/mailman/listinfo/libevent-users