Compare commits

..

No commits in common. "master" and "libshmem-2.1.0" have entirely different histories.

4 changed files with 218 additions and 269 deletions

View File

@ -1,25 +1,11 @@
------------------------------------------------------------------------------------------------------------------------------------
LibShMem V 3.0.0 - A. GIBERT - 2024/05/xx
------------------------------------------------------------------------------------------------------------------------------------
- All:
- Working on new API...
- LibShMem:
- Add LibNode 3 API support,
- Add LibLog 1.1 API support.
------------------------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------------------
LibShMem V 2.1.0 - A. GIBERT - 2024/05/21 LibShMem V 2.1.0 - A. GIBERT - 2024/05/21
------------------------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------------------
All: All: - This new LibShMem branch (2.1.x) support the new LibNode branch (2.3.x) & LibLog (1.0.x),
- This new LibShMem branch (2.1.x) support the new LibNode branch (2.3.x) & LibLog (1.0.x),
- Switch to LGPL/GPL V3 & FGD V1.3 licenses, - Switch to LGPL/GPL V3 & FGD V1.3 licenses,
- Last 2.x release branch, now working on LibShMem 3! - Last 2.x release branch, now working on LibShMem 3!
LibShMem: LibShMem: - Major code cleanup,
- Major code cleanup,
- Start French to English translation. - Start French to English translation.

File diff suppressed because it is too large Load Diff

View File

@ -172,45 +172,13 @@ typedef union semun
unsigned short int * array; unsigned short int * array;
} semun; } semun;
/*------------------------------------------------------------------------------*/
/* LibShMem data struct handlers */
/*------------------------------------------------------------------------------*/
NDT_Handler SMG_DataStruct_Handlers[ NDD_HANDLER_NB] =
{
{ "", /* Manager function name */
NULL}, /* Manager function pointer */
{ "", /* Init function name */
NULL}, /* Init function pointer */
{ "SM_Base_Alloc", /* Alloc function name */
NULL}, /* Alloc function pointer */
{ "SM_Base_Free", /* Free function name */
NULL}, /* Free function pointer */
{ "", /* Open function name */
NULL}, /* Open function pointer */
{ "", /* Close function name */
NULL}, /* Close function pointer */
{ "", /* Info function name */
NULL}, /* Info function pointer */
{ "", /* Lock function name */
NULL}, /* Lock function pointer */
{ "", /* Unlock function name */
NULL} /* Unlock function pointer */
};
/*------------------------------------------------------------------------------*/ /*------------------------------------------------------------------------------*/
/* */ /* */
/*------------------------------------------------------------------------------*/ /*------------------------------------------------------------------------------*/
#define SM_LIBSHMEM_OPEN_CHECK() if( !SM_Base) { LG_LOG_ERROR( "LibShMem library is not open"); return( SMS_ERRAPI); } #define SM_LIBSHMEM_OPEN_CHECK() if( !SM_Base) { LG_LOG_ERROR_0( "LibShMem library is not open"); return( SMS_ERRAPI); }
#define SM_HEAP_NAME_CHECK(ptr) if( !(ptr)) { LG_LOG_ERROR( "Heap name is undefined"); return( SMS_ERRAPI); } #define SM_HEAP_NAME_CHECK(ptr) if( !(ptr)) { LG_LOG_ERROR_0( "Heap name is undefined"); return( SMS_ERRAPI); }
#define SM_HEAP_CHECK( ptr) if( !(ptr)) { LG_LOG_ERROR( "Heap is undefined"); return( SMS_ERRAPI); } #define SM_HEAP_CHECK( ptr) if( !(ptr)) { LG_LOG_ERROR_0( "Heap is undefined"); return( SMS_ERRAPI); }

View File

@ -252,7 +252,7 @@ int main( int argc, char **argv)
return( -1); return( -1);
} }
LG_LOG_INFO( "Start SMAdmin"); LG_LOG_INFO_0( "Start SMAdmin");
/* Lancement de commande d'administration */ /* Lancement de commande d'administration */
@ -560,7 +560,7 @@ int main( int argc, char **argv)
} }
LG_LOG_INFO( "End SMAdmin"); LG_LOG_INFO_0( "End SMAdmin");
if( ( lg_status = LG_Library_Close( true)) != LGS_OK) if( ( lg_status = LG_Library_Close( true)) != LGS_OK)
{ {