Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
17 years agoMove xbt/xbt_thread.h to private interfaces since it's not always provided by the...
mquinson [Thu, 15 Mar 2007 08:21:11 +0000 (08:21 +0000)]
Move xbt/xbt_thread.h to private interfaces since it's not always provided by the libraries

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3279 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoAdd a [correct] prototype to xbt_thread_join
mquinson [Thu, 15 Mar 2007 08:20:17 +0000 (08:20 +0000)]
Add a [correct] prototype to xbt_thread_join

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3278 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoThis is definitivly not a public interface: it is not provided in libsimgrid when...
mquinson [Thu, 15 Mar 2007 08:08:16 +0000 (08:08 +0000)]
This is definitivly not a public interface: it is not provided in libsimgrid when using the ucontextes to implement xbt_context

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3277 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoeffect of the redefinition of the macro XBT_PUBLIC_DATA
cherierm [Wed, 14 Mar 2007 21:28:13 +0000 (21:28 +0000)]
effect of the redefinition of the macro XBT_PUBLIC_DATA

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3276 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoxbt_thread_join() function implementation, windows thread version modifications
cherierm [Wed, 14 Mar 2007 21:27:17 +0000 (21:27 +0000)]
xbt_thread_join() function implementation, windows thread version modifications

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3275 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoxbt_thread_join() function is now implemented
cherierm [Wed, 14 Mar 2007 21:25:34 +0000 (21:25 +0000)]
xbt_thread_join() function is now implemented

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3274 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoeffect of redefinition of the macro XBT_PUBLIC_DATA
cherierm [Wed, 14 Mar 2007 21:24:35 +0000 (21:24 +0000)]
effect of redefinition of the macro XBT_PUBLIC_DATA

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3273 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoredefinition of the macro XBT_PUBLIC_DATA
cherierm [Wed, 14 Mar 2007 21:21:25 +0000 (21:21 +0000)]
redefinition of the macro XBT_PUBLIC_DATA

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3272 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoAdding debug informations.
alegrand [Wed, 14 Mar 2007 15:19:29 +0000 (15:19 +0000)]
Adding debug informations.
Adding a "clean" suicide mechanisme for the xbt_context_kill functions.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3271 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoFixing the setkey getkey mechanism (it wasn't functionnal at all).
alegrand [Wed, 14 Mar 2007 15:15:21 +0000 (15:15 +0000)]
Fixing the setkey getkey mechanism (it wasn't functionnal at all).

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3270 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoTrickier example.
alegrand [Wed, 14 Mar 2007 15:14:29 +0000 (15:14 +0000)]
Trickier example.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3269 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoMake sure that SIMIX is in the distributed tarballs
mquinson [Wed, 14 Mar 2007 11:01:41 +0000 (11:01 +0000)]
Make sure that SIMIX is in the distributed tarballs

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3268 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoThis is already exported from the corresponding header (include/xbt/ex.h), as it...
mquinson [Wed, 14 Mar 2007 09:22:31 +0000 (09:22 +0000)]
This is already exported from the corresponding header (include/xbt/ex.h), as it should be

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3267 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoUse XBT_PUBLIC_DATA instead of XBT_DECLARE_DATA
mquinson [Wed, 14 Mar 2007 09:21:45 +0000 (09:21 +0000)]
Use XBT_PUBLIC_DATA instead of XBT_DECLARE_DATA

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3266 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoThis is already exported from the corresponding .h (./src/include/surf/surf.h)
mquinson [Wed, 14 Mar 2007 09:18:58 +0000 (09:18 +0000)]
This is already exported from the corresponding .h (./src/include/surf/surf.h)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3265 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoUse XBT_PUBLIC_DATA instead of XBT_DECLARE_DATA
mquinson [Wed, 14 Mar 2007 09:13:25 +0000 (09:13 +0000)]
Use XBT_PUBLIC_DATA instead of XBT_DECLARE_DATA

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3264 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoRename XBT_DECLARE_DATA to XBT_PUBLIC_DATA for sake of consistency, and rewrite its...
mquinson [Wed, 14 Mar 2007 09:11:43 +0000 (09:11 +0000)]
Rename XBT_DECLARE_DATA to XBT_PUBLIC_DATA for sake of consistency, and rewrite its usage to be consistant with XBT_PUBLIC

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3263 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoportable.h is the header to load when seeking for portability
mquinson [Wed, 14 Mar 2007 09:05:51 +0000 (09:05 +0000)]
portable.h is the header to load when seeking for portability

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3262 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agouse win32/config.h on windows
cherierm [Tue, 13 Mar 2007 14:07:10 +0000 (14:07 +0000)]
use win32/config.h on windows

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3261 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoexport some functions for windows dll
cherierm [Tue, 13 Mar 2007 13:53:37 +0000 (13:53 +0000)]
export some functions for windows dll

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3260 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoexport some functions for libgras
cherierm [Tue, 13 Mar 2007 13:49:13 +0000 (13:49 +0000)]
export some functions for libgras

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3259 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agodefine CONTEXT_THREADS to 1
cherierm [Tue, 13 Mar 2007 13:24:40 +0000 (13:24 +0000)]
define CONTEXT_THREADS to 1

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3258 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoconsider the new macros CONTEXT_UCONTEXT and CONTEXT_THREADS
cherierm [Tue, 13 Mar 2007 13:20:37 +0000 (13:20 +0000)]
consider the new macros CONTEXT_UCONTEXT and CONTEXT_THREADS

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3257 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agovisual c++ need snprintf and vsnprintf functions
cherierm [Tue, 13 Mar 2007 13:19:43 +0000 (13:19 +0000)]
visual c++ need snprintf and vsnprintf functions

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3256 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agospecial exportation data for visual c++
cherierm [Tue, 13 Mar 2007 12:35:12 +0000 (12:35 +0000)]
special exportation data for visual c++

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3255 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agonot need to export XBT_LOG_ROOT_CAT in log.c
cherierm [Tue, 13 Mar 2007 12:20:31 +0000 (12:20 +0000)]
not need to export XBT_LOG_ROOT_CAT in log.c

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3254 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agospecial data exportation
cherierm [Tue, 13 Mar 2007 12:12:56 +0000 (12:12 +0000)]
special data exportation

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3253 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoexports functions in windows dll
cherierm [Tue, 13 Mar 2007 12:10:35 +0000 (12:10 +0000)]
exports functions in windows dll

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3252 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agospecial data exportation for Visual C++
cherierm [Tue, 13 Mar 2007 12:08:51 +0000 (12:08 +0000)]
special data exportation for Visual C++

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3251 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoa new macro XBT_DECLARE_DATA for special data exportation
cherierm [Tue, 13 Mar 2007 12:05:09 +0000 (12:05 +0000)]
a new macro XBT_DECLARE_DATA for special data exportation

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3250 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoexport some functions in windows dll
cherierm [Tue, 13 Mar 2007 12:02:34 +0000 (12:02 +0000)]
export some functions in windows dll

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3249 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoThis is a public symbol, isn't it (not realy sure, but should be harmless)
mquinson [Tue, 13 Mar 2007 11:22:00 +0000 (11:22 +0000)]
This is a public symbol, isn't it (not realy sure, but should be harmless)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3248 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoCast to the proper pointer type to avoid some warnings
cherierm [Tue, 13 Mar 2007 11:08:21 +0000 (11:08 +0000)]
Cast to the proper pointer type to avoid some warnings

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3247 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoReintroduce the changes to the windows build chain to allow gcc cross compilation...
mquinson [Tue, 13 Mar 2007 10:22:44 +0000 (10:22 +0000)]
Reintroduce the changes to the windows build chain to allow gcc cross compilation (was removed by Malek's last compile)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3246 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoVisual C++ compiler configuration file
cherierm [Tue, 13 Mar 2007 10:18:39 +0000 (10:18 +0000)]
Visual C++ compiler configuration file

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3245 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agospecial configuration for Visual C++ compiler
cherierm [Tue, 13 Mar 2007 10:16:16 +0000 (10:16 +0000)]
special configuration for Visual C++ compiler

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3244 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agospecial configuration for Visual C++ compiler
cherierm [Tue, 13 Mar 2007 10:10:20 +0000 (10:10 +0000)]
special configuration for Visual C++ compiler

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3243 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoMake sure libsimgrid depend on libpthreads only when needed (ie, when we use pthreads...
mquinson [Mon, 12 Mar 2007 15:03:42 +0000 (15:03 +0000)]
Make sure libsimgrid depend on libpthreads only when needed (ie, when we use pthreads to implement xbt_contextes); libgras depends on it anyway since it will soon be multithreaded

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3242 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoproper file name for the stubs not used in either SG or RL
mquinson [Mon, 12 Mar 2007 15:00:09 +0000 (15:00 +0000)]
proper file name for the stubs not used in either SG or RL

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3241 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoKeeping up with last renaming.
alegrand [Mon, 12 Mar 2007 11:20:58 +0000 (11:20 +0000)]
Keeping up with last renaming.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3240 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoUsing more explicit names.
alegrand [Mon, 12 Mar 2007 11:20:45 +0000 (11:20 +0000)]
Using more explicit names.
Killing the init_context in last position.
Adding debug.
Calling cleanup_func before freeing args.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3239 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoVarious cleanups.
alegrand [Mon, 12 Mar 2007 11:19:12 +0000 (11:19 +0000)]
Various cleanups.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3238 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoAdd --with-pthreads as synonym for --with-pthread since Arnaud cannot type correctly
mquinson [Mon, 12 Mar 2007 09:28:49 +0000 (09:28 +0000)]
Add --with-pthreads as synonym for --with-pthread since Arnaud cannot type correctly

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3237 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agodo not use xbt_context_init but xbt_init; do not try to yield when there is only...
mquinson [Fri, 9 Mar 2007 17:01:22 +0000 (17:01 +0000)]
do not use xbt_context_init but xbt_init; do not try to yield when there is only one context since it fails for whatever reason

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3236 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agosync generated files
mquinson [Fri, 9 Mar 2007 16:55:23 +0000 (16:55 +0000)]
sync generated files

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3235 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoBorland uses the thread implementation of the contextes
mquinson [Fri, 9 Mar 2007 16:51:39 +0000 (16:51 +0000)]
Borland uses the thread implementation of the contextes

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3234 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agouse the empty functions for context module init/exit when in GRAS_RL
mquinson [Fri, 9 Mar 2007 16:50:58 +0000 (16:50 +0000)]
use the empty functions for context module init/exit when in GRAS_RL

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3233 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agodon't use either pthread or winthread to implement xbt_context, but use our compatibi...
mquinson [Fri, 9 Mar 2007 16:49:28 +0000 (16:49 +0000)]
don't use either pthread or winthread to implement xbt_context, but use our compatibility layer xbt_thread instead (when ucontext are not available, of course)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3232 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoMake the implementation more robust: don't die if something to destroy is already...
mquinson [Fri, 9 Mar 2007 16:47:06 +0000 (16:47 +0000)]
Make the implementation more robust: don't die if something to destroy is already NULL, ignore instead; don't try to delete our pthread_key on shutdown. Valgrind detects no leak if we don't, and whine if we try to

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3231 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoDon't initialize the contextes manually, it will be done by xbt_init on need
mquinson [Fri, 9 Mar 2007 16:45:47 +0000 (16:45 +0000)]
Don't initialize the contextes manually, it will be done by xbt_init on need

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3230 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoEmpty body of the context module init/exit functions since they are not defined elsew...
mquinson [Fri, 9 Mar 2007 16:44:08 +0000 (16:44 +0000)]
Empty body of the context module init/exit functions since they are not defined elsewhere (and not used) in RL

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3229 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoIntegrate xbt_context_init/exit to the regular module mecanism; free the xbt_binary_n...
mquinson [Fri, 9 Mar 2007 16:42:39 +0000 (16:42 +0000)]
Integrate xbt_context_init/exit to the regular module mecanism; free the xbt_binary_name as late as possible since it can be used by module exit functions (if they do log)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3228 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoMove xbt_context_init/exit to modinter so that we can integrate it to the regular...
mquinson [Fri, 9 Mar 2007 16:41:26 +0000 (16:41 +0000)]
Move xbt_context_init/exit to modinter so that we can integrate it to the regular module mecanism

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3227 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoLoad the getline prototype when it exists
mquinson [Fri, 9 Mar 2007 16:40:16 +0000 (16:40 +0000)]
Load the getline prototype when it exists

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3226 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoLoad the result of configure on cross-compilation
mquinson [Fri, 9 Mar 2007 16:39:29 +0000 (16:39 +0000)]
Load the result of configure on cross-compilation

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3225 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoModified some functions and datatypes. Simix API changed too.
donassbr [Fri, 9 Mar 2007 14:29:13 +0000 (14:29 +0000)]
Modified some functions and datatypes. Simix API changed too.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3224 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoCommit the autogenerated files
mquinson [Thu, 8 Mar 2007 23:39:02 +0000 (23:39 +0000)]
Commit the autogenerated files

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3223 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agobump version number
mquinson [Thu, 8 Mar 2007 23:24:26 +0000 (23:24 +0000)]
bump version number

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3222 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoAnd now the 'compiles under linux' version
mquinson [Thu, 8 Mar 2007 23:03:18 +0000 (23:03 +0000)]
And now the 'compiles under linux' version

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3221 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoimprove hte windows part, still to be tested for real
mquinson [Thu, 8 Mar 2007 22:58:01 +0000 (22:58 +0000)]
improve hte windows part, still to be tested for real

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3220 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoheader of the getline replacement; documentation of xbt_abort and xbt_die since they...
mquinson [Thu, 8 Mar 2007 22:54:19 +0000 (22:54 +0000)]
header of the getline replacement; documentation of xbt_abort and xbt_die since they landed in this file

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3219 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoremplacement implementation of the GNU only getline
mquinson [Thu, 8 Mar 2007 22:51:28 +0000 (22:51 +0000)]
remplacement implementation of the GNU only getline

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3218 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoCheck for getline() to provide a replacement when not there
mquinson [Thu, 8 Mar 2007 22:44:10 +0000 (22:44 +0000)]
Check for getline() to provide a replacement when not there

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3217 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agolibraries now unconditionnally depend on the pthread lib because of the xbt_thread...
mquinson [Thu, 8 Mar 2007 22:20:12 +0000 (22:20 +0000)]
libraries now unconditionnally depend on the pthread lib because of the xbt_thread module, define DLL_EXPORT when cross-compiling for billware

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3216 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoadd a newline at the end of the file to make gcc happy
mquinson [Thu, 8 Mar 2007 21:55:31 +0000 (21:55 +0000)]
add a newline at the end of the file to make gcc happy

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3215 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoAllow to cross-compile with gcc again
mquinson [Thu, 8 Mar 2007 21:54:44 +0000 (21:54 +0000)]
Allow to cross-compile with gcc again

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3214 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoadd some thread functions
cherierm [Thu, 8 Mar 2007 20:23:04 +0000 (20:23 +0000)]
add some thread functions

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3213 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoCut a multiple definition of a macro for users using damn pedantic warning flags
mquinson [Thu, 8 Mar 2007 16:30:27 +0000 (16:30 +0000)]
Cut a multiple definition of a macro for users using damn pedantic warning flags

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3212 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoMake room for the new xbt_thread module
mquinson [Thu, 8 Mar 2007 16:19:54 +0000 (16:19 +0000)]
Make room for the new xbt_thread module

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3211 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoPortability layer over the pthreads working with pthread or on windows
mquinson [Thu, 8 Mar 2007 16:17:40 +0000 (16:17 +0000)]
Portability layer over the pthreads working with pthread or on windows

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3210 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agowint_hread update
cherierm [Thu, 8 Mar 2007 15:20:29 +0000 (15:20 +0000)]
wint_hread update

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3209 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agominor cleanups
mquinson [Thu, 8 Mar 2007 10:00:49 +0000 (10:00 +0000)]
minor cleanups

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3208 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoGRAS API BREAKAGE: allow users to never call gras_msgtype_by_name() explicitly, expec...
mquinson [Wed, 7 Mar 2007 15:40:30 +0000 (15:40 +0000)]
GRAS API BREAKAGE: allow users to never call gras_msgtype_by_name() explicitly, expect the callbacks to return 0 when everything went well

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3207 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoadapt to lastest changes in GRAS API
mquinson [Wed, 7 Mar 2007 15:38:12 +0000 (15:38 +0000)]
adapt to lastest changes in GRAS API

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3206 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoUpdate the changes to reflect my last changes
mquinson [Wed, 7 Mar 2007 15:31:04 +0000 (15:31 +0000)]
Update the changes to reflect my last changes

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3205 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoupdate the mmrpc example to adapt to the changes in the matrix module (which is still...
mquinson [Wed, 7 Mar 2007 14:56:20 +0000 (14:56 +0000)]
update the mmrpc example to adapt to the changes in the matrix module (which is still to be documented)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3204 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoSome tests done and bugs corrected.
donassbr [Wed, 7 Mar 2007 13:38:57 +0000 (13:38 +0000)]
Some tests done and bugs corrected.
Removed SIMIX_error_t.
Added new privates variables in the header ( action and process ).

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3203 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoFirst wave of GRAS API breaking: gras_cb_register wants a message name (char*) as...
mquinson [Wed, 7 Mar 2007 11:03:04 +0000 (11:03 +0000)]
First wave of GRAS API breaking: gras_cb_register wants a message name (char*) as first argument and call gras_msgtype_by_name for you. gras_cb_register_() is the old behavior; same changes to gras_cb_unregister(). To come: the same for msg_send/msg_wait and so on.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3202 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoNew question: What is the difference between MSG, SimDag, and GRAS? Do they serve...
mquinson [Wed, 7 Mar 2007 10:16:38 +0000 (10:16 +0000)]
New question: What is the difference between MSG, SimDag, and GRAS? Do they serve the same purpose?

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3201 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoNew function SD_application_reinit() allowing to test several heuristics back to...
mquinson [Tue, 6 Mar 2007 13:00:39 +0000 (13:00 +0000)]
New function SD_application_reinit() allowing to test several heuristics back to back on the same platform without reloading the platform description file [FS]

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3200 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoAdding convenient function for Fred Suter
alegrand [Mon, 5 Mar 2007 16:09:30 +0000 (16:09 +0000)]
Adding convenient function for Fred Suter

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3199 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoNew functions added, changes in the header files, function create_link(cond, action...
donassbr [Mon, 5 Mar 2007 14:57:06 +0000 (14:57 +0000)]
New functions added, changes in the header files, function create_link(cond, action) removed.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3198 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoFix the doc!
alegrand [Mon, 5 Mar 2007 11:51:55 +0000 (11:51 +0000)]
Fix the doc!

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3197 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoMove pictures to the webcruft/ dir
mquinson [Mon, 5 Mar 2007 10:46:08 +0000 (10:46 +0000)]
Move pictures to the webcruft/ dir

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3196 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoUpdating the FAQ
alegrand [Mon, 5 Mar 2007 10:04:31 +0000 (10:04 +0000)]
Updating the FAQ

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3195 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agofix the creation of the shortcuts when the html directory does not exist
mquinson [Mon, 5 Mar 2007 09:20:14 +0000 (09:20 +0000)]
fix the creation of the shortcuts when the html directory does not exist

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3194 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoMake the logo a link to the mainpage
mquinson [Mon, 5 Mar 2007 09:19:37 +0000 (09:19 +0000)]
Make the logo a link to the mainpage

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3193 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoAdded new functions and some modifications on the headers was made.
donassbr [Fri, 2 Mar 2007 14:11:50 +0000 (14:11 +0000)]
Added new functions and some modifications on the headers was made.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3192 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years ago_sleep not implemented in stdlib.h on Windows
cherierm [Fri, 2 Mar 2007 13:21:31 +0000 (13:21 +0000)]
_sleep not implemented in stdlib.h on Windows

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3191 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoSolved a bogus conflict detected by CVS. In other word this commit
velho [Fri, 2 Mar 2007 12:33:30 +0000 (12:33 +0000)]
Solved a bogus conflict detected by CVS. In other word this commit
changes nothing. Although keeps the repository in a consistent state.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3190 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoAdded round trip time contraint to the SDP program, this parameter
velho [Fri, 2 Mar 2007 12:30:29 +0000 (12:30 +0000)]
Added round trip time contraint to the SDP program, this parameter
corresponds to the bound field of the lmm_variable_t struct.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3189 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoupdate the double extern declaration bis
cherierm [Fri, 2 Mar 2007 10:26:00 +0000 (10:26 +0000)]
update the double extern declaration bis

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3188 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoupdate the double extern declaration
cherierm [Fri, 2 Mar 2007 10:16:27 +0000 (10:16 +0000)]
update the double extern declaration

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3187 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoAdding debuging informations.
alegrand [Fri, 2 Mar 2007 10:01:11 +0000 (10:01 +0000)]
Adding debuging informations.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3186 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoget_pid() for Windows is GetCurrentProcess()
cherierm [Thu, 1 Mar 2007 17:51:31 +0000 (17:51 +0000)]
get_pid() for Windows is GetCurrentProcess()

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3185 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoexport some function declared in trace_mgr.h
cherierm [Thu, 1 Mar 2007 16:37:35 +0000 (16:37 +0000)]
export some function declared in trace_mgr.h

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3184 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoexport some function declared in surf.h
cherierm [Thu, 1 Mar 2007 16:36:55 +0000 (16:36 +0000)]
export some function declared in surf.h

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3183 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoadapt the macro XBT_LOG_NEW_CATEGORY to the windows DLL
cherierm [Thu, 1 Mar 2007 16:31:54 +0000 (16:31 +0000)]
adapt the macro XBT_LOG_NEW_CATEGORY to the windows DLL

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3182 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoCopyright corrected.
donassbr [Thu, 1 Mar 2007 16:22:17 +0000 (16:22 +0000)]
Copyright corrected.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3181 48e7efb5-ca39-0410-a469-dd3cf9ba447f

17 years agoCleanups: macro renaming, improve documentation
mquinson [Thu, 1 Mar 2007 11:59:52 +0000 (11:59 +0000)]
Cleanups: macro renaming, improve documentation

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3180 48e7efb5-ca39-0410-a469-dd3cf9ba447f