OpenMPI  0.1.1
callback_u_t Union Reference

Note: this file is a little fast-n-loose with OPAL_HAVE_THREADS – it uses this value in run-time "if" conditionals (vs. More...

Data Fields

ompi_btl_openib_fd_event_callback_fn_t * event
 
ompi_btl_openib_fd_main_callback_fn_t * main
 

Detailed Description

Note: this file is a little fast-n-loose with OPAL_HAVE_THREADS – it uses this value in run-time "if" conditionals (vs.

compile-time #if conditionals). We also don't protect including <pthread.h>. That's because this component currently only compiles on Linux and Solaris, and both of these OS's have pthreads. Using the run-time conditionals gives us better compile-time checking, even of code that isn't activated.

Note, too, that the functionality in this file does not require all the heavyweight OMPI thread infrastructure (e.g., from –enable-mpi-thread-multiple or –enable-progress-threads). All work that is done in a separate progress thread is very carefully segregated from that of the main thread, and communication back to the main thread


The documentation for this union was generated from the following file: