Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rename smx_user to libsmx (to mimick libc/smx)
authorMartin Quinson <martin.quinson@loria.fr>
Sun, 2 Nov 2014 00:03:04 +0000 (01:03 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Sun, 2 Nov 2014 00:03:04 +0000 (01:03 +0100)
buildtools/Cmake/DefinePackages.cmake
src/simix/libsmx.c [moved from src/simix/smx_user.c with 98% similarity]

index 0052fd1..ad84be8 100644 (file)
@@ -362,6 +362,7 @@ set(SIMIX_GENERATED_SRC
   src/simix/popping_generated.c
   )
 set(SIMIX_SRC
   src/simix/popping_generated.c
   )
 set(SIMIX_SRC
+  src/simix/libsmx.c
   src/simix/smx_context.c
   src/simix/smx_context_base.c
   src/simix/smx_context_raw.c
   src/simix/smx_context.c
   src/simix/smx_context_base.c
   src/simix/smx_context_raw.c
@@ -373,7 +374,6 @@ set(SIMIX_SRC
   src/simix/smx_network.c
   src/simix/smx_process.c
   src/simix/smx_synchro.c
   src/simix/smx_network.c
   src/simix/smx_process.c
   src/simix/smx_synchro.c
-  src/simix/smx_user.c
   src/simix/smx_vm.c
   src/simix/popping.c
   ${SIMIX_GENERATED_SRC}
   src/simix/smx_vm.c
   src/simix/popping.c
   ${SIMIX_GENERATED_SRC}
similarity index 98%
rename from src/simix/smx_user.c
rename to src/simix/libsmx.c
index 8d80aa3..07bf397 100644 (file)
@@ -1,10 +1,14 @@
-/* smx_user.c - public interface to simix                                   */
+/* libsmx.c - public interface to simix                                       */
+/* --------                                                                   */
+/* These functions are the only ones that are visible from the higher levels  */
+/* (most of them simply add some documentation to the generated simcall body) */
+/*                                                                            */
+/* This is somehow the "libc" of SimGrid                                      */
 
 
-/* Copyright (c) 2010-2014. The SimGrid Team.
- * All rights reserved.                                                     */
+/* Copyright (c) 2010-2014. The SimGrid Team. All rights reserved.            */
 
 /* This program is free software; you can redistribute it and/or modify it
 
 /* This program is free software; you can redistribute it and/or modify it
- * under the terms of the license (GNU LGPL) which comes with this package. */
+ * under the terms of the license (GNU LGPL) which comes with this package.   */
 
 #include "smx_private.h"
 #include "mc/mc_interface.h"
 
 #include "smx_private.h"
 #include "mc/mc_interface.h"