Remove some leftover kruft; the STL is no longer used, so this lock is
no longer necessary. This commit was SVN r18694.
Этот коммит содержится в:
родитель
7a1206d912
Коммит
f366f49179
@ -10,6 +10,7 @@
|
|||||||
// University of Stuttgart. All rights reserved.
|
// University of Stuttgart. All rights reserved.
|
||||||
// Copyright (c) 2004-2005 The Regents of the University of California.
|
// Copyright (c) 2004-2005 The Regents of the University of California.
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
|
// Copyright (c) 2008 Cisco Systems, Inc. All rights reserved.
|
||||||
// $COPYRIGHT$
|
// $COPYRIGHT$
|
||||||
//
|
//
|
||||||
// Additional copyrights may follow
|
// Additional copyrights may follow
|
||||||
@ -62,9 +63,6 @@ Init();
|
|||||||
void
|
void
|
||||||
InitializeIntercepts();
|
InitializeIntercepts();
|
||||||
|
|
||||||
void
|
|
||||||
FinalizeIntercepts();
|
|
||||||
|
|
||||||
void
|
void
|
||||||
Real_init();
|
Real_init();
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
// University of Stuttgart. All rights reserved.
|
// University of Stuttgart. All rights reserved.
|
||||||
// Copyright (c) 2004-2005 The Regents of the University of California.
|
// Copyright (c) 2004-2005 The Regents of the University of California.
|
||||||
// All rights reserved.
|
// All rights reserved.
|
||||||
|
// Copyright (c) 2008 Cisco Systems, Inc. All rights reserved.
|
||||||
// $COPYRIGHT$
|
// $COPYRIGHT$
|
||||||
//
|
//
|
||||||
// Additional copyrights may follow
|
// Additional copyrights may follow
|
||||||
@ -108,7 +109,6 @@ MPI::Init()
|
|||||||
inline void
|
inline void
|
||||||
MPI::Finalize()
|
MPI::Finalize()
|
||||||
{
|
{
|
||||||
FinalizeIntercepts();
|
|
||||||
(void)MPI_Finalize();
|
(void)MPI_Finalize();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -28,8 +28,6 @@
|
|||||||
#include "ompi/datatype/datatype.h"
|
#include "ompi/datatype/datatype.h"
|
||||||
#include "opal/threads/mutex.h"
|
#include "opal/threads/mutex.h"
|
||||||
|
|
||||||
opal_mutex_t *MPI::mpi_map_mutex;
|
|
||||||
|
|
||||||
extern "C"
|
extern "C"
|
||||||
void ompi_mpi_cxx_throw_exception(int *errcode)
|
void ompi_mpi_cxx_throw_exception(int *errcode)
|
||||||
{
|
{
|
||||||
@ -88,14 +86,6 @@ MPI::InitializeIntercepts()
|
|||||||
#endif
|
#endif
|
||||||
ompi_mpi_errors_throw_exceptions.eh_win_fn =
|
ompi_mpi_errors_throw_exceptions.eh_win_fn =
|
||||||
ompi_mpi_cxx_win_throw_excptn_fctn;
|
ompi_mpi_cxx_win_throw_excptn_fctn;
|
||||||
|
|
||||||
MPI::mpi_map_mutex = OBJ_NEW(opal_mutex_t);
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
MPI::FinalizeIntercepts()
|
|
||||||
{
|
|
||||||
OBJ_RELEASE(MPI::mpi_map_mutex);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -218,9 +218,6 @@ namespace MPI {
|
|||||||
#include "openmpi/ompi/mpi/cxx/info.h"
|
#include "openmpi/ompi/mpi/cxx/info.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// JMS To be deleted when the all the STL is removed from these bindings
|
|
||||||
extern opal_mutex_t *mpi_map_mutex;
|
|
||||||
|
|
||||||
// Version string
|
// Version string
|
||||||
extern const char ompi_libcxx_version_string[];
|
extern const char ompi_libcxx_version_string[];
|
||||||
}
|
}
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user