We really should be closing the event framework when told to do so.
cmr:v1.7.3,reviewer=jsquyres This commit was SVN r28714.
Этот коммит содержится в:
родитель
d1ce64f049
Коммит
45fad1ddcc
@ -11,5 +11,5 @@ headers += \
|
||||
base/base.h
|
||||
|
||||
libmca_event_la_SOURCES += \
|
||||
base/event_base_open.c
|
||||
base/event_base_frame.c
|
||||
|
||||
|
@ -1,25 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
*
|
||||
* $HEADER$
|
||||
*/
|
||||
|
||||
#include "opal_config.h"
|
||||
|
||||
#include "opal/constants.h"
|
||||
#include "opal/mca/mca.h"
|
||||
#include "opal/mca/base/base.h"
|
||||
#include "opal/mca/event/event.h"
|
||||
#include "opal/mca/event/base/base.h"
|
||||
|
||||
int opal_event_base_close(void)
|
||||
{
|
||||
opal_event_base_inited--;
|
||||
|
||||
/* cleanup components even though they are statically opened */
|
||||
return mca_base_framework_components_close (&opal_event_base_framework,
|
||||
NULL);
|
||||
}
|
@ -46,11 +46,19 @@
|
||||
* and is only mentioned here for completeness.
|
||||
*/
|
||||
static int opal_event_base_open(mca_base_open_flag_t flags);
|
||||
static int opal_event_base_close(void);
|
||||
|
||||
/* Use default register and close function */
|
||||
MCA_BASE_FRAMEWORK_DECLARE(opal, event, NULL, NULL, opal_event_base_open,
|
||||
NULL, mca_event_base_static_components,
|
||||
opal_event_base_close, mca_event_base_static_components,
|
||||
0);
|
||||
|
||||
static int opal_event_base_close(void)
|
||||
{
|
||||
/* cleanup components even though they are statically opened */
|
||||
return mca_base_framework_components_close (&opal_event_base_framework,
|
||||
NULL);
|
||||
}
|
||||
|
||||
/*
|
||||
* Globals
|
Загрузка…
x
Ссылка в новой задаче
Block a user