1
1
openmpi/ompi/mca/hook/demo
Joshua Hursey c10bbfded6 ompi/hook: Add the hook/license framework
* Include a 'demo' component that shows some of the features.
 * Currently has hooks for:
   - MPI_Initialized
     - top, bottom
   - MPI_Init_thread
     - top, bottom
   - MPI_Finalized
     - top, bottom
   - MPI_Init
     - top (pre-opal_init), top (post-opal_init), error, bottom
   - MPI_Finalize
     - top, bottom
 * Other places in ompi can 'register' to hook into any one of these places
   by passing back a component structure filled with function pointers.
 * Add a `MCA_BASE_COMPONENT_FLAG_REQUIRED` flag to the MCA structure that
   is checked by the `hook` framework. If a required, static component has
   been excluded then the `hook` framework will fail to initialize.
   - See note in `opal/mca/mca.h` as to why this is checked in the `hook`
     framework and not in `opal/mca/base/mca_base_component_find.c`

Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>
2017-02-27 12:05:53 -05:00
..
.opal_ignore ompi/hook: Add the hook/license framework 2017-02-27 12:05:53 -05:00
configure.m4 ompi/hook: Add the hook/license framework 2017-02-27 12:05:53 -05:00
hook_demo_component.c ompi/hook: Add the hook/license framework 2017-02-27 12:05:53 -05:00
hook_demo_fns.c ompi/hook: Add the hook/license framework 2017-02-27 12:05:53 -05:00
hook_demo.h ompi/hook: Add the hook/license framework 2017-02-27 12:05:53 -05:00
Makefile.am ompi/hook: Add the hook/license framework 2017-02-27 12:05:53 -05:00
owner.txt ompi/hook: Add the hook/license framework 2017-02-27 12:05:53 -05:00