Re: [OMPI devel] event library

2009-04-03 Thread Jeff Squyres
Correct. We use the event library (a customized drop of libevent) for three main things: 1. monitoring file descriptors 2. scheduling timed callbacks (i.e., you can set a callback to fire at some point in the future) 3. monitoring signals You can register a callback to occur when these eve

Re: [OMPI devel] event library

2009-04-03 Thread Timothy Hayes
Do you mean the code in OPAL/event? If so, it's a customised libevent. I've seen it used in OpenMPI to poll/select open sockets, it allows the programmer register their own callback functions for when this happens. Just ignore me if this wasn't what you were asking about though :-) Tim 2009/4/3 E

[OMPI devel] event library

2009-04-03 Thread Eugene Loh
What is the purpose of the event library? I'd happily RTFM if someone could point me in that direction! :^) I'm guessing it's to check occasionally for "unexpected events", but if someone could confirm/deny and flesh that picture out a little, I'd appreciate it.