Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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