Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
13 years agothe expected signal metacommand use now the name of the signal instead the number...
cherierm [Wed, 11 Apr 2007 15:05:18 +0000 (15:05 +0000)]
the expected signal metacommand use now the name of the signal instead the number of the signal see segfault.tesh for a usage of this metacommand

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

13 years agothe trim.c file header
cherierm [Wed, 11 Apr 2007 14:27:42 +0000 (14:27 +0000)]
the trim.c file header

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

13 years agoStrip whitespace (or other characters) of f a string
cherierm [Wed, 11 Apr 2007 14:26:27 +0000 (14:26 +0000)]
Strip whitespace (or other characters) of f a string

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

13 years agothe build system need it
cherierm [Wed, 11 Apr 2007 08:38:36 +0000 (08:38 +0000)]
the build system need it

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

13 years agoRemoved SIMIX_global_init_args and SIMIX_process_create_with_arguments.
donassbr [Tue, 10 Apr 2007 10:52:42 +0000 (10:52 +0000)]
Removed SIMIX_global_init_args and SIMIX_process_create_with_arguments.
Added SIMIX_action_parallel_execute, MSG_parallel_task_create and MSG_parallel_task_execute (not tested).

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

13 years agoxbt/str.h needs love...
alegrand [Fri, 6 Apr 2007 20:36:14 +0000 (20:36 +0000)]
xbt/str.h needs love...

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

13 years agoFunctions added and changed. Keeps the cvs updated.
donassbr [Wed, 4 Apr 2007 13:52:57 +0000 (13:52 +0000)]
Functions added and changed. Keeps the cvs updated.
MSG_process_kill added.

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

13 years agomsg_simix alpha. All functions implemented.
donassbr [Fri, 30 Mar 2007 10:42:08 +0000 (10:42 +0000)]
msg_simix alpha. All functions implemented.
Some memory leaks solved.

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

13 years agoMany changes done.
donassbr [Thu, 29 Mar 2007 09:41:09 +0000 (09:41 +0000)]
Many changes done.
msg_test.c works.
Not all functions implemented yet.

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

13 years agoFunctions implemented, task_execute tested with a small example.
donassbr [Tue, 27 Mar 2007 13:09:37 +0000 (13:09 +0000)]
Functions implemented, task_execute tested with a small example.

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

13 years agoAPI changed.
donassbr [Tue, 27 Mar 2007 13:08:45 +0000 (13:08 +0000)]
API changed.

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

13 years agoUse tesh!!! It really works great! Thanks Martin!
alegrand [Mon, 26 Mar 2007 11:29:53 +0000 (11:29 +0000)]
Use tesh!!! It really works great! Thanks Martin!

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

13 years agoUse reasonable values in deployment files.
alegrand [Mon, 26 Mar 2007 11:28:36 +0000 (11:28 +0000)]
Use reasonable values in deployment files.

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

13 years agothese functions are already declarated in str.h
cherierm [Mon, 26 Mar 2007 10:07:44 +0000 (10:07 +0000)]
these functions are already declarated in str.h

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

13 years agoon windows getline function needs the stdio.h include file
cherierm [Mon, 26 Mar 2007 08:47:26 +0000 (08:47 +0000)]
on windows getline function needs the stdio.h include file

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

13 years agoRemove one of the tests which breaks on amd64, it will be readded after my vacations
mquinson [Fri, 23 Mar 2007 22:27:30 +0000 (22:27 +0000)]
Remove one of the tests which breaks on amd64, it will be readded after my vacations

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

13 years agoAvoid a segfault on amd64 by leaking the file descriptor
mquinson [Fri, 23 Mar 2007 22:24:52 +0000 (22:24 +0000)]
Avoid a segfault on amd64 by leaking the file descriptor

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

13 years agoReduce the visibility of stdio.h because it was loaded wrongly (ie, before _GNU_SOURC...
mquinson [Fri, 23 Mar 2007 22:20:52 +0000 (22:20 +0000)]
Reduce the visibility of stdio.h because it was loaded wrongly (ie, before _GNU_SOURCE gets defined on need in portable.h, thus making getline invisible)

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

13 years agoHell, I BROKE THE BUILD. Let's take some radical counter-measures.
mquinson [Fri, 23 Mar 2007 22:17:43 +0000 (22:17 +0000)]
Hell, I BROKE THE BUILD. Let's take some radical counter-measures.

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

13 years agoReduce the visibility of stdio.h because it was loaded wrongly (ie, before _GNU_SOURC...
mquinson [Fri, 23 Mar 2007 22:13:17 +0000 (22:13 +0000)]
Reduce the visibility of stdio.h because it was loaded wrongly (ie, before _GNU_SOURCE gets defined on need in portable.h, thus making getline invisible)

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

13 years agoUpdate generated files
mquinson [Fri, 23 Mar 2007 22:07:08 +0000 (22:07 +0000)]
Update generated files

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

13 years agoLoad portable ASAP so that stdio do contain getline
mquinson [Fri, 23 Mar 2007 22:06:07 +0000 (22:06 +0000)]
Load portable ASAP so that stdio do contain getline

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

13 years agoReduce the visibility of stdio.h because it was loaded wrongly (ie, before _GNU_SOURC...
mquinson [Fri, 23 Mar 2007 22:05:26 +0000 (22:05 +0000)]
Reduce the visibility of stdio.h because it was loaded wrongly (ie, before _GNU_SOURCE gets defined on need in portable.h, thus making getline invisible)

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

13 years agoload stdio.h with _GNU_SOURCE defined ASAP before some random other system header...
mquinson [Fri, 23 Mar 2007 22:03:21 +0000 (22:03 +0000)]
load stdio.h with _GNU_SOURCE defined ASAP before some random other system header loads it without the extra definition, thus hiding getline

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

13 years agoAdd tesh[t], the TEsting SHell Tool
mquinson [Fri, 23 Mar 2007 21:21:55 +0000 (21:21 +0000)]
Add tesh[t], the TEsting SHell Tool

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

13 years agoFix the prototype of getline on platforms where we need to redefine it (non-GNU)
mquinson [Fri, 23 Mar 2007 21:14:57 +0000 (21:14 +0000)]
Fix the prototype of getline on platforms where we need to redefine it (non-GNU)

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

13 years agoAdded field mu_new and field init_bound was replaced by mu in structure
velho [Fri, 23 Mar 2007 17:31:05 +0000 (17:31 +0000)]
Added field mu_new and field init_bound was replaced by mu in structure
lmm_variable_t. Added field lambda_new and field init_bound was
replaced by lambda in lmm_constraint_t.

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

13 years agoDebugging.
velho [Fri, 23 Mar 2007 17:29:29 +0000 (17:29 +0000)]
Debugging.

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

13 years agostupid me! I forgot this file in the renaming process.
alegrand [Fri, 23 Mar 2007 12:04:24 +0000 (12:04 +0000)]
stupid me! I forgot this file in the renaming process.

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

13 years agoCommiting auto-generated files.
alegrand [Fri, 23 Mar 2007 11:35:55 +0000 (11:35 +0000)]
Commiting auto-generated files.

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

13 years agoRenaming!
alegrand [Fri, 23 Mar 2007 11:35:11 +0000 (11:35 +0000)]
Renaming!

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

13 years agoNecessity to change the code to implement MSG..
donassbr [Fri, 23 Mar 2007 11:26:22 +0000 (11:26 +0000)]
Necessity to change the code to implement MSG..

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

13 years agoSome functions added (not all), the code compile, but it wasn't tested
donassbr [Fri, 23 Mar 2007 11:25:27 +0000 (11:25 +0000)]
Some functions added (not all), the code compile, but it wasn't tested
yet.

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

13 years agosleep actions can neither be suspended nor resumed...
alegrand [Fri, 23 Mar 2007 11:21:38 +0000 (11:21 +0000)]
sleep actions can neither be suspended nor resumed...

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

13 years agoFactorize the definition of socklen_t between all compilers
mquinson [Thu, 22 Mar 2007 16:31:00 +0000 (16:31 +0000)]
Factorize the definition of socklen_t between all compilers

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

13 years agodeclaration of toupper
mquinson [Thu, 22 Mar 2007 16:08:54 +0000 (16:08 +0000)]
declaration of toupper

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

13 years agoSplit the string related function to their own header file. It will ease their docume...
mquinson [Thu, 22 Mar 2007 16:04:20 +0000 (16:04 +0000)]
Split the string related function to their own header file. It will ease their documentation, at least

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

13 years agoUpdate generated file with regard to the detection of borken makecontext: we don...
mquinson [Thu, 22 Mar 2007 15:03:49 +0000 (15:03 +0000)]
Update generated file with regard to the detection of borken makecontext: we don't try to pass pointers to this function, so it should work on 64bits too

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

13 years agoRevert last change: now, we can use contextes even on 64bits archs where passing...
mquinson [Thu, 22 Mar 2007 14:58:45 +0000 (14:58 +0000)]
Revert last change: now, we can use contextes even on 64bits archs where passing a pointer as third argument of makecontext is broken

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

13 years agoLet it work both with 64bit contextes, and with plain threads
mquinson [Thu, 22 Mar 2007 14:57:44 +0000 (14:57 +0000)]
Let it work both with 64bit contextes, and with plain threads

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

13 years agoThis program test the simulator engines using different modelling
velho [Thu, 22 Mar 2007 14:50:26 +0000 (14:50 +0000)]
This program test the simulator engines using different modelling
approaches: maxmin, lagrange and sdp.

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

13 years agoCorrected the simeng_usage.c directive.
velho [Thu, 22 Mar 2007 14:49:04 +0000 (14:49 +0000)]
Corrected the simeng_usage.c directive.

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

13 years agoHacking to make it work with broken AMD64 contexts. To try!
alegrand [Thu, 22 Mar 2007 14:40:44 +0000 (14:40 +0000)]
Hacking to make it work with broken AMD64 contexts. To try!

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

13 years agoLet's start with the library versionning
mquinson [Thu, 22 Mar 2007 00:26:18 +0000 (00:26 +0000)]
Let's start with the library versionning

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

13 years agoLet's go for the next release
mquinson [Thu, 22 Mar 2007 00:18:04 +0000 (00:18 +0000)]
Let's go for the next release

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

13 years agoAdded the compilation of file simeng_usage. I think this is a more
velho [Wed, 21 Mar 2007 18:34:10 +0000 (18:34 +0000)]
Added the compilation of file simeng_usage. I think this is a more
appropriate name once this programs tests different modelling approachs
in the simulator engine.

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

13 years agoPrototype of function lagrange_solve added.
velho [Wed, 21 Mar 2007 18:31:35 +0000 (18:31 +0000)]
Prototype of function lagrange_solve added.

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

13 years agoAdded field intial_bound to lmm_constraint_t and lmm_variable_t. Needed
velho [Wed, 21 Mar 2007 18:27:24 +0000 (18:27 +0000)]
Added field intial_bound to lmm_constraint_t and lmm_variable_t. Needed
by the lagrange optimization function.

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

13 years agoModel using the proportional fairness to compute the bandwith achivied
velho [Wed, 21 Mar 2007 18:11:19 +0000 (18:11 +0000)]
Model using the proportional fairness to compute the bandwith achivied
with each connection. Corrected and compiling. Tests until undone.

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

13 years agoAdded surf/lagrange.c.
velho [Wed, 21 Mar 2007 18:09:28 +0000 (18:09 +0000)]
Added surf/lagrange.c.

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

13 years agoMSG/SIMIX Initial files. Only functions prototypes, not implemented yet.
donassbr [Wed, 21 Mar 2007 14:51:27 +0000 (14:51 +0000)]
MSG/SIMIX Initial files. Only functions prototypes, not implemented yet.

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

13 years agoChanges in the functions, correct prototype function (SIMIX_config) and change except...
donassbr [Wed, 21 Mar 2007 14:50:31 +0000 (14:50 +0000)]
Changes in the functions, correct prototype function (SIMIX_config) and change exception raised in SIMIX_action.

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

13 years agoAdd support for host failure exception to the xbt_errcat_t.
donassbr [Wed, 21 Mar 2007 14:47:55 +0000 (14:47 +0000)]
Add support for host failure exception to the xbt_errcat_t.

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

13 years agoa empty file to create the directory in the repository
cherierm [Wed, 21 Mar 2007 14:20:59 +0000 (14:20 +0000)]
a empty file to create the directory in the repository

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

13 years agoa makefile to build the ping_pong example
cherierm [Wed, 21 Mar 2007 13:59:58 +0000 (13:59 +0000)]
a makefile to build the ping_pong example

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

13 years agoa makefile to build the msg_test_suspend example
cherierm [Wed, 21 Mar 2007 13:59:20 +0000 (13:59 +0000)]
a makefile to build the msg_test_suspend example

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

13 years agoa makefile to build the msg_test_communication_time example
cherierm [Wed, 21 Mar 2007 13:58:45 +0000 (13:58 +0000)]
a makefile to build the msg_test_communication_time example

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

13 years agoa makefile to build the msg_test example
cherierm [Wed, 21 Mar 2007 13:57:55 +0000 (13:57 +0000)]
a makefile to build the msg_test example

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

13 years agoa makefile to build the simgrid dll
cherierm [Wed, 21 Mar 2007 13:57:04 +0000 (13:57 +0000)]
a makefile to build the simgrid dll

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

13 years agoconsider the windows dll modifications
cherierm [Wed, 21 Mar 2007 13:56:24 +0000 (13:56 +0000)]
consider the windows dll modifications

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

13 years agothis file is used in the build processus to build the dll simgrid
cherierm [Wed, 21 Mar 2007 13:42:59 +0000 (13:42 +0000)]
this file is used in the build processus to build the dll simgrid

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

13 years agoStart the development of the lagrange optimization method to implement
velho [Tue, 20 Mar 2007 10:05:44 +0000 (10:05 +0000)]
Start the development of the lagrange optimization method to implement
the proportional fairness.

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

13 years agocommit automatic file
mquinson [Fri, 16 Mar 2007 20:21:19 +0000 (20:21 +0000)]
commit automatic file

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

13 years agoRELEASE \!
mquinson [Fri, 16 Mar 2007 20:15:04 +0000 (20:15 +0000)]
RELEASE \!

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

13 years agoremove the pragma directives in borland configuration file
cherierm [Fri, 16 Mar 2007 16:32:35 +0000 (16:32 +0000)]
remove the pragma directives in borland configuration file

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

13 years agowith ansi C the variables must be declared at the begining of the function
cherierm [Fri, 16 Mar 2007 15:11:01 +0000 (15:11 +0000)]
with ansi C the variables must be declared at the begining of the function

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

13 years agoRework the portability layer around our getline definition. Damn thing. A proper...
mquinson [Fri, 16 Mar 2007 14:59:14 +0000 (14:59 +0000)]
Rework the portability layer around our getline definition. Damn thing. A proper xbt_string.h is needed, but it's too late for this version of simgrid

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

13 years agoOnly declare getline portability cruft if it is needed (it's not used so far), it...
mquinson [Fri, 16 Mar 2007 14:57:12 +0000 (14:57 +0000)]
Only declare getline portability cruft if it is needed (it's not used so far), it can be ignored for release sake

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

13 years agoRemove a useless (hopefully) portability hack
mquinson [Fri, 16 Mar 2007 14:34:32 +0000 (14:34 +0000)]
Remove a useless (hopefully) portability hack

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

13 years agoUse xbt_thread_yield explicitely instead of Sleep(0). This is the same effect, but...
mquinson [Fri, 16 Mar 2007 14:15:13 +0000 (14:15 +0000)]
Use xbt_thread_yield explicitely instead of Sleep(0). This is the same effect, but the intention of this is more clear (at least to me ;)

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

13 years agowith ansi C the variables must be declared at the begining of the function
cherierm [Fri, 16 Mar 2007 14:11:15 +0000 (14:11 +0000)]
with ansi C the variables must be declared at the begining of the function

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

13 years agoCommit separately the tons of additionnal debug informations I had to add to find...
mquinson [Fri, 16 Mar 2007 14:10:03 +0000 (14:10 +0000)]
Commit separately the tons of additionnal debug informations I had to add to find the deadlock solved in previous commit

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

13 years agoKill a deadlock in the new thread creation code I've introduced (sometimes, the main...
mquinson [Fri, 16 Mar 2007 14:08:48 +0000 (14:08 +0000)]
Kill a deadlock in the new thread creation code I've introduced (sometimes, the main thread had the ability to acquire the individual lock of the created one before the poor dude got a chance to go in jail)

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

13 years agothis file is used by the example ping_pong
cherierm [Fri, 16 Mar 2007 13:42:49 +0000 (13:42 +0000)]
this file is used by the example ping_pong

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

13 years agofor windows xbt_thread implementation a thread yield after it has signaled a condition
cherierm [Fri, 16 Mar 2007 13:36:31 +0000 (13:36 +0000)]
for windows xbt_thread implementation a thread yield after it has signaled a condition

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

13 years agoMicrosoft visual c++ need that
cherierm [Fri, 16 Mar 2007 13:33:36 +0000 (13:33 +0000)]
Microsoft visual c++ need that

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

13 years agoforce bye alignement to 8 and disable a avertissment
cherierm [Fri, 16 Mar 2007 13:30:01 +0000 (13:30 +0000)]
force bye alignement to 8 and disable a avertissment

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

13 years agooptimize the comparaison between characters
cherierm [Fri, 16 Mar 2007 13:28:47 +0000 (13:28 +0000)]
optimize the comparaison between characters

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

13 years agoon include extern C directive for c++ compilers plus include misc.h header
cherierm [Fri, 16 Mar 2007 13:27:21 +0000 (13:27 +0000)]
on include extern C directive for c++ compilers plus include misc.h header

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

13 years agossize_t is not defined in borland builder and visual C++ and now asprintf and
cherierm [Fri, 16 Mar 2007 13:23:31 +0000 (13:23 +0000)]
ssize_t is not defined in borland builder and visual C++ and now asprintf and
vasprintf are not exported in the windows dll

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

13 years agoonly indent code
cherierm [Fri, 16 Mar 2007 13:18:55 +0000 (13:18 +0000)]
only indent code

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

13 years agoPlug a memleak
mquinson [Fri, 16 Mar 2007 10:54:33 +0000 (10:54 +0000)]
Plug a memleak

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

13 years agoLet the stubs die more verbosely when they catch a logic error in our programmation
mquinson [Fri, 16 Mar 2007 10:48:16 +0000 (10:48 +0000)]
Let the stubs die more verbosely when they catch a logic error in our programmation

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

13 years agoDamn picky compiler. Kill unused vars when using ucontextes
mquinson [Fri, 16 Mar 2007 10:44:38 +0000 (10:44 +0000)]
Damn picky compiler. Kill unused vars when using ucontextes

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

13 years agoOnly initialize the mutex&condition used for context creation when using the pthreads...
mquinson [Fri, 16 Mar 2007 10:42:58 +0000 (10:42 +0000)]
Only initialize the mutex&condition used for context creation when using the pthreads to implement the xbt_contextes

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

13 years agouse two conditions during the thread creation phase to make sure that it is *really...
mquinson [Fri, 16 Mar 2007 10:34:50 +0000 (10:34 +0000)]
use two conditions during the thread creation phase to make sure that it is *really* impossible to signal the condition and get our own signal the line after. The pthread lib under linux works just fine on such a borderline case, but it may not be the case of any thread implementation. Namly, our xbt_thread implem for windows is not that permissive. It could be possible to make our implem more robust, but it is ways easier to make our user code less demanding

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

13 years agoAlso avoid to leak the stub under windows
mquinson [Fri, 16 Mar 2007 10:19:05 +0000 (10:19 +0000)]
Also avoid to leak the stub under windows

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

13 years agoKill the s_xbt_thread_wrapper_for_restart__ structure and use xbt_thread_t to contain...
mquinson [Fri, 16 Mar 2007 10:13:26 +0000 (10:13 +0000)]
Kill the s_xbt_thread_wrapper_for_restart__ structure and use xbt_thread_t to contain what the former contained so that we don't have to free the stub, or leak if we don't

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

13 years agoTypo in my last change aiming at including SIMIX in the tarball regardless on whether...
mquinson [Thu, 15 Mar 2007 16:43:14 +0000 (16:43 +0000)]
Typo in my last change aiming at including SIMIX in the tarball regardless on whether we configured simgrid to use it or not

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

13 years agoCommit generated file
mquinson [Thu, 15 Mar 2007 16:39:42 +0000 (16:39 +0000)]
Commit generated file

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

13 years agoKill oldies
mquinson [Thu, 15 Mar 2007 16:39:06 +0000 (16:39 +0000)]
Kill oldies

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

13 years agoKill old context implementations on windows. We now use xbt_threads for this on this...
mquinson [Thu, 15 Mar 2007 16:38:36 +0000 (16:38 +0000)]
Kill old context implementations on windows. We now use xbt_threads for this on this platform; Make sure the test units are rebuilt correctly even during VPATH builds

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

13 years agoKill old context implementations on windows. We now use xbt_threads for this on this...
mquinson [Thu, 15 Mar 2007 16:37:20 +0000 (16:37 +0000)]
Kill old context implementations on windows. We now use xbt_threads for this on this platform

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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