- Start LibLog support implementation,
- Minor code cleanup.
This commit is contained in:
@@ -9,8 +9,8 @@ include ../Makefile.rule
|
||||
|
||||
|
||||
|
||||
DEP += libshmem.h ../include/shmem.h ../../libnode/include/node.h Makefile
|
||||
INCLUDE += -I . -I ../include -I ../../libnode/include
|
||||
DEP += libshmem.h ../include/shmem.h ../../liblog/include/log.h ../../libnode/include/node.h Makefile
|
||||
INCLUDE += -I . -I ../include -I ../../liblog/include -I ../../libnode/include
|
||||
|
||||
ifdef _LIBVER_SUPPORT
|
||||
DEP += ../../libver/ver.h
|
||||
|
||||
708
lib/libshmem.c
708
lib/libshmem.c
File diff suppressed because it is too large
Load Diff
@@ -1,29 +1,24 @@
|
||||
/*---------------------------------------------------------------------------------*/
|
||||
/* $RCSfile: libshmem.h,v $ */
|
||||
/*---------------------------------------------------------------------------------*/
|
||||
/* $Revision: 2.3 $ */
|
||||
/* $Name: $ */
|
||||
/* $Date: 2005/06/26 23:02:35 $ */
|
||||
/* $Author: agibert $ */
|
||||
/*---------------------------------------------------------------------------------*/
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* libshmem.h */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
/*---------------------------------------------------------------------------------*/
|
||||
/* This file is part of LibShMem */
|
||||
/* */
|
||||
/* LibShMem is free software; you can redistribute it and/or modify */
|
||||
/* it under the terms of the GNU Lesser General Public Licence as published by */
|
||||
/* the Free Software Foundation; either version 2.1 of the License, or */
|
||||
/* (at your option) any later version. */
|
||||
/* */
|
||||
/* LibShMem is distributed in the hope that it will be useful, */
|
||||
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
|
||||
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
|
||||
/* GNU Lesser General Public License for more details. */
|
||||
/* */
|
||||
/* You should have received a copy of the GNU Lesser General Public License */
|
||||
/* along with LibShMem; if not, write to the Free Software */
|
||||
/* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
||||
/*---------------------------------------------------------------------------------*/
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* This file is part of LibShMem */
|
||||
/* */
|
||||
/* LibShMem is free software: you can redistribute it and/or modify it */
|
||||
/* under the terms of the GNU Lesser General Public License as published */
|
||||
/* by the Free Software Foundation, either version 3 of the License, or */
|
||||
/* (at your option) any later version. */
|
||||
/* */
|
||||
/* LibShMem is distributed in the hope that it will be useful, */
|
||||
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
|
||||
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
|
||||
/* GNU Lesser General Public License for more details. */
|
||||
/* */
|
||||
/* You should have received a copy of the GNU Lesser General Public */
|
||||
/* License along with Drummer. If not, see */
|
||||
/* <https://www.gnu.org/licenses/>. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
|
||||
@@ -42,6 +37,8 @@
|
||||
|
||||
#include <shmem.h>
|
||||
|
||||
#include <execinfo.h>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -164,6 +161,11 @@ typedef union semun
|
||||
unsigned short int * array;
|
||||
} semun;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*------------------------------------------------------------------------------*/
|
||||
/* Allocation de mémoire dans la base */
|
||||
/*------------------------------------------------------------------------------*/
|
||||
@@ -299,3 +301,11 @@ void SM_Error_Print (void);
|
||||
/*------------------------------------------------------------------------------*/
|
||||
|
||||
SMT_Status SM_Name_Prefix( char *, const char *);
|
||||
|
||||
|
||||
|
||||
/*------------------------------------------------------------------------------*/
|
||||
/* Print stack trace */
|
||||
/*------------------------------------------------------------------------------*/
|
||||
|
||||
void SM_stack_trace_print( void);
|
||||
|
||||
Reference in New Issue
Block a user