Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
16 years agoautomatically generated files
alegrand [Mon, 16 Jul 2007 10:59:01 +0000 (10:59 +0000)]
automatically generated files

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

16 years agoStop bugging me with java when I don't want it.
alegrand [Mon, 16 Jul 2007 10:53:25 +0000 (10:53 +0000)]
Stop bugging me with java when I don't want it.

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

16 years agoShut automake's mouth up.
alegrand [Mon, 16 Jul 2007 10:18:25 +0000 (10:18 +0000)]
Shut automake's mouth up.

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

16 years agoCorrected bug.
donassbr [Mon, 16 Jul 2007 10:07:21 +0000 (10:07 +0000)]
Corrected bug.
Bug: xbt_queues strangely handled

simix_cond_wait_timeout now raise an exception if the timeout happens.

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

16 years agoAllow users to disable Java binding, even if the configure thinks it found the tools
mquinson [Mon, 16 Jul 2007 09:15:50 +0000 (09:15 +0000)]
Allow users to disable Java binding, even if the configure thinks it found the tools

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

16 years agoIt have to call the correct functions.
donassbr [Mon, 16 Jul 2007 09:11:56 +0000 (09:11 +0000)]
It have to call the correct functions.
Now, it compiles.

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

16 years agoLet the context version compile properly after the last 'sanitization' of the backtra...
mquinson [Mon, 16 Jul 2007 08:50:41 +0000 (08:50 +0000)]
Let the context version compile properly after the last 'sanitization' of the backtrace naming space

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

16 years agoWrong namming scheme.
donassbr [Mon, 16 Jul 2007 08:45:41 +0000 (08:45 +0000)]
Wrong namming scheme.
Corrected. I hope, I couldn't compile it yet.

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

16 years agoxbt_string_t (C definition in xbt/str.h, right for us) is an acknoledged alias to...
mquinson [Sun, 15 Jul 2007 12:46:22 +0000 (12:46 +0000)]
xbt_string_t (C definition in xbt/str.h, right for us) is an acknoledged alias to string

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

16 years agoAdd an alias to (char*) to help the parsing macro
mquinson [Sun, 15 Jul 2007 12:45:25 +0000 (12:45 +0000)]
Add an alias to (char*) to help the parsing macro

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

16 years agoAdd a GRAS_DEFINE_TYPE_LOCAL to allow users to have both common messages (shared...
mquinson [Sun, 15 Jul 2007 12:44:56 +0000 (12:44 +0000)]
Add a GRAS_DEFINE_TYPE_LOCAL to allow users to have both common messages (shared with the rest of the library?) whose gras description is not loaded in current file, and private messages, whose gras description *is* defined in current file

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

16 years agonew function gras_os_hostport, returning a constant form of gras_os_myname():gras_os_...
mquinson [Sun, 15 Jul 2007 11:34:14 +0000 (11:34 +0000)]
new function gras_os_hostport, returning a constant form of gras_os_myname():gras_os_myport()

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

16 years agoNeed to install this one too
mquinson [Sat, 14 Jul 2007 20:52:26 +0000 (20:52 +0000)]
Need to install this one too

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

16 years agomemleak
mquinson [Sat, 14 Jul 2007 10:22:05 +0000 (10:22 +0000)]
memleak

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

16 years agoMemleak on the mutex
mquinson [Sat, 14 Jul 2007 10:21:45 +0000 (10:21 +0000)]
Memleak on the mutex

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

16 years agoIf the timeout is negative, the user wants to block
mquinson [Sat, 14 Jul 2007 10:13:52 +0000 (10:13 +0000)]
If the timeout is negative, the user wants to block

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

16 years agomore informative error message
mquinson [Sat, 14 Jul 2007 10:13:10 +0000 (10:13 +0000)]
more informative error message

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

16 years agoautogenerated
mquinson [Sat, 14 Jul 2007 10:12:43 +0000 (10:12 +0000)]
autogenerated

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

16 years agoIf the element is not found, don't try to continue but report the issue before it...
mquinson [Sat, 14 Jul 2007 10:02:32 +0000 (10:02 +0000)]
If the element is not found, don't try to continue but report the issue before it causes a segfault

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

16 years agoSanitize backtrace naming space
mquinson [Sat, 14 Jul 2007 09:11:06 +0000 (09:11 +0000)]
Sanitize backtrace naming space

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

16 years agoSanitize backtrace naming space
mquinson [Sat, 14 Jul 2007 08:52:10 +0000 (08:52 +0000)]
Sanitize backtrace naming space

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

16 years agoKill dead files
mquinson [Sat, 14 Jul 2007 07:44:55 +0000 (07:44 +0000)]
Kill dead files

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

16 years agodoc improvement
mquinson [Sat, 14 Jul 2007 07:41:35 +0000 (07:41 +0000)]
doc improvement

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

16 years agokill oldies
mquinson [Fri, 13 Jul 2007 22:56:49 +0000 (22:56 +0000)]
kill oldies

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

16 years agoKill oldies, and document XBT virtualization mecanisms as I envision them
mquinson [Fri, 13 Jul 2007 22:52:29 +0000 (22:52 +0000)]
Kill oldies, and document XBT virtualization mecanisms as I envision them

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

16 years agoUpdate the documentation instead of working (boooo)
mquinson [Fri, 13 Jul 2007 22:44:49 +0000 (22:44 +0000)]
Update the documentation instead of working (boooo)

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

16 years agofix doxygen
mquinson [Fri, 13 Jul 2007 21:57:48 +0000 (21:57 +0000)]
fix doxygen

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

16 years agofix doxygen syntax
mquinson [Fri, 13 Jul 2007 21:55:59 +0000 (21:55 +0000)]
fix doxygen syntax

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

16 years agousers love cross-links in the documentation
mquinson [Fri, 13 Jul 2007 21:53:57 +0000 (21:53 +0000)]
users love cross-links in the documentation

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

16 years agoDoxygen, don't be silly, this \n isn't for you
mquinson [Fri, 13 Jul 2007 21:44:00 +0000 (21:44 +0000)]
Doxygen, don't be silly, this \n isn't for you

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

16 years agoKill dead files
mquinson [Fri, 13 Jul 2007 19:08:04 +0000 (19:08 +0000)]
Kill dead files

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

16 years agostructure sockets of gras_trp_prodata_t synchronized.
donassbr [Fri, 13 Jul 2007 16:16:48 +0000 (16:16 +0000)]
structure sockets of gras_trp_prodata_t synchronized.
changes in dynar. Martin???

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

16 years agoBug corrections: i) boundless variables wasn't detected properly,
velho [Fri, 13 Jul 2007 16:04:59 +0000 (16:04 +0000)]
Bug corrections: i) boundless variables wasn't detected properly,
ii) the sigma_i + mu_i wasn't done correctly, mu_i was added at
each lambda_j variable instead of only once at the end, iii) the
initialization of parameter df in lmm_variable_new was 1 and it must
be 0.0, iv) the function for Reno has some workrounds that doesn't
seem to work correctly (this last one to be continued...).
Thanks to Arnaud Legrand.

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

16 years agoAdded the initialization of latency to the variables.
velho [Fri, 13 Jul 2007 15:59:46 +0000 (15:59 +0000)]
Added the initialization of latency to the variables.
Use the lmm_variable_update_latency function.

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

16 years agoI forgot it.
donassbr [Fri, 13 Jul 2007 14:42:06 +0000 (14:42 +0000)]
I forgot it.

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

16 years agoAdded xbt_os_time and xbt_os_sleep. Execute in the real and simulate systems.
donassbr [Fri, 13 Jul 2007 14:20:20 +0000 (14:20 +0000)]
Added xbt_os_time and xbt_os_sleep. Execute in the real and simulate systems.

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

16 years agoupdate of the binary file corresponding to the exchange after the change in the conte...
mquinson [Fri, 13 Jul 2007 10:00:33 +0000 (10:00 +0000)]
update of the binary file corresponding to the exchange after the change in the content of a dynar (to add the mutex). Should be done for all architectures

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

16 years agoDatadesc now contain a mutex; send big enough data chunks when exchanging them
mquinson [Fri, 13 Jul 2007 09:57:20 +0000 (09:57 +0000)]
Datadesc now contain a mutex; send big enough data chunks when exchanging them

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

16 years agoWorking test cases
mquinson [Fri, 13 Jul 2007 09:48:59 +0000 (09:48 +0000)]
Working test cases

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

16 years agoreduce waiting times to speed up tests
mquinson [Fri, 13 Jul 2007 09:47:16 +0000 (09:47 +0000)]
reduce waiting times to speed up tests

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

16 years agoreduce waiting times during make check
mquinson [Fri, 13 Jul 2007 09:37:57 +0000 (09:37 +0000)]
reduce waiting times during make check

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

16 years agoif the plugin socket creator raises an exception, remove the broken socket from the...
mquinson [Fri, 13 Jul 2007 09:37:31 +0000 (09:37 +0000)]
if the plugin socket creator raises an exception, remove the broken socket from the set (or we'll get into trouble at finalization, when trying to destroy it)

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

16 years agoSpeed up make check in RL a bit
mquinson [Fri, 13 Jul 2007 09:00:25 +0000 (09:00 +0000)]
Speed up make check in RL a bit

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

16 years agoreduce the waiting time in RL on make check
mquinson [Fri, 13 Jul 2007 08:54:26 +0000 (08:54 +0000)]
reduce the waiting time in RL on make check

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

16 years agorevalidate the simulator output after last change
mquinson [Fri, 13 Jul 2007 08:48:17 +0000 (08:48 +0000)]
revalidate the simulator output after last change

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

16 years agoSlaves try a bit harder to connect to the master
mquinson [Fri, 13 Jul 2007 08:47:30 +0000 (08:47 +0000)]
Slaves try a bit harder to connect to the master

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

16 years agoImproved version of testsuite.
velho [Fri, 13 Jul 2007 08:40:20 +0000 (08:40 +0000)]
Improved version of testsuite.

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

16 years agoAdded files to execute ping_pong example with a smallest possible
velho [Fri, 13 Jul 2007 08:33:25 +0000 (08:33 +0000)]
Added files to execute ping_pong example with a smallest possible
platform.

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

16 years agomore work on smpi receiver. basically everything is in place except matching
markls [Fri, 13 Jul 2007 08:28:10 +0000 (08:28 +0000)]
more work on smpi receiver.  basically everything is in place except matching
pending recv requests to received messages.

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

16 years agothis was renamed
mquinson [Thu, 12 Jul 2007 14:23:42 +0000 (14:23 +0000)]
this was renamed

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

16 years agoautogenerated
mquinson [Thu, 12 Jul 2007 14:11:56 +0000 (14:11 +0000)]
autogenerated

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

16 years agoUse a queue to control the selectable sockets. We don't need anymore the mutex and...
donassbr [Thu, 12 Jul 2007 13:57:50 +0000 (13:57 +0000)]
Use a queue to control the selectable sockets. We don't need anymore the mutex and contidions on the transport structure.

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

16 years agoStop using internal interface of dynars related to cursors
mquinson [Thu, 12 Jul 2007 13:56:28 +0000 (13:56 +0000)]
Stop using internal interface of dynars related to cursors

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

16 years agoInitialize xbt beforehand
mquinson [Thu, 12 Jul 2007 13:55:39 +0000 (13:55 +0000)]
Initialize xbt beforehand

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

16 years agoCorrected mutex unlocking.
donassbr [Thu, 12 Jul 2007 13:55:39 +0000 (13:55 +0000)]
Corrected mutex unlocking.
Raise an exception if the timeout occurs on the timed functions.

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

16 years agoNew kind of error
mquinson [Thu, 12 Jul 2007 13:54:50 +0000 (13:54 +0000)]
New kind of error

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

16 years agoDynar are now synchronized
mquinson [Thu, 12 Jul 2007 12:06:30 +0000 (12:06 +0000)]
Dynar are now synchronized

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

16 years agoType casting. Bug solved.
donassbr [Thu, 12 Jul 2007 10:55:53 +0000 (10:55 +0000)]
Type casting. Bug solved.

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

16 years agovarious little cleanups in the gras/sg code. Mainly reindentation and more informativ...
mquinson [Thu, 12 Jul 2007 10:36:49 +0000 (10:36 +0000)]
various little cleanups in the gras/sg code. Mainly reindentation and more informative field names for the structures

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

16 years agoxbt/synchro.h test case, unfortunately showing some issues in the simulation for now
mquinson [Wed, 11 Jul 2007 17:51:37 +0000 (17:51 +0000)]
xbt/synchro.h test case, unfortunately showing some issues in the simulation for now

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

16 years agoGo for a thread_cancel instead of a thread_destroy since every documentation says...
mquinson [Wed, 11 Jul 2007 17:50:08 +0000 (17:50 +0000)]
Go for a thread_cancel instead of a thread_destroy since every documentation says that it is the way to go

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

16 years ago+= thread_cancel
mquinson [Wed, 11 Jul 2007 17:48:54 +0000 (17:48 +0000)]
+= thread_cancel

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

16 years agoof course, you shouldn't use the simulated time but the native one to see whether...
mquinson [Wed, 11 Jul 2007 17:15:44 +0000 (17:15 +0000)]
of course, you shouldn't use the simulated time but the native one to see whether the user waited 5 sec before pressing Ctrl-C again

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

16 years agoWhen implementing the versatile threads, I decided to diverge a bit from the pthread...
mquinson [Wed, 11 Jul 2007 16:08:53 +0000 (16:08 +0000)]
When implementing the versatile threads, I decided to diverge a bit from the pthread interface

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

16 years agoimplement versatile threads (working both on simulator and in situ); the simulated...
mquinson [Wed, 11 Jul 2007 16:07:37 +0000 (16:07 +0000)]
implement versatile threads (working both on simulator and in situ); the simulated conditions aren't working yet

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

16 years agoversatile implementation do not fake the xbt_thread type anymore but has its own...
mquinson [Wed, 11 Jul 2007 16:05:33 +0000 (16:05 +0000)]
versatile implementation do not fake the xbt_thread type anymore but has its own, so remove the KEEP IT IN SYNC warnings, and add a xbt_os_thread_getparam() function to retrieve the pointer passed to the constructor later on need

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

16 years agoWe need a default if the user didn't set any function.
donassbr [Wed, 11 Jul 2007 14:23:15 +0000 (14:23 +0000)]
We need a default if the user didn't set any function.

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

16 years agokill dead code
mquinson [Wed, 11 Jul 2007 12:16:36 +0000 (12:16 +0000)]
kill dead code

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

16 years agoGenerate the temps manually in this dir because the child process is not in the deplo...
mquinson [Wed, 11 Jul 2007 11:43:05 +0000 (11:43 +0000)]
Generate the temps manually in this dir because the child process is not in the deployment file, so gras_stub_generator needs an extra argument to see it

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

16 years ago...
mquinson [Wed, 11 Jul 2007 11:38:40 +0000 (11:38 +0000)]
...

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

16 years agoMore cleanups in simix and friends. Do not request users to pass a cleanup function...
mquinson [Wed, 11 Jul 2007 11:36:03 +0000 (11:36 +0000)]
More cleanups in simix and friends. Do not request users to pass a cleanup function to SIMIX_process_create. Instead, provide a SIMIX_function_register_process_cleanup function to set this globally

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

16 years agoTest case for the gras_agent_spawn function
mquinson [Wed, 11 Jul 2007 11:15:55 +0000 (11:15 +0000)]
Test case for the gras_agent_spawn function

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

16 years agodead file
mquinson [Wed, 11 Jul 2007 11:12:09 +0000 (11:12 +0000)]
dead file

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

16 years agoNew function: gras_agent_spawn
mquinson [Wed, 11 Jul 2007 11:11:04 +0000 (11:11 +0000)]
New function: gras_agent_spawn

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

16 years agoplease shutdown the process/agent BEFORE the whole gras mecanisms are shut down
mquinson [Wed, 11 Jul 2007 11:10:42 +0000 (11:10 +0000)]
please shutdown the process/agent BEFORE the whole gras mecanisms are shut down

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

16 years agoMove smx_process related functions from sg_emul.c to sg_process.c; cosmetics; + add...
mquinson [Wed, 11 Jul 2007 11:09:47 +0000 (11:09 +0000)]
Move smx_process related functions from sg_emul.c to sg_process.c; cosmetics; + add a new function gras_agent_spawn() (YUHU). Only implemented in simulation for now, but I can deal with it

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

16 years agoSplit too long file, various cleanups
mquinson [Wed, 11 Jul 2007 10:47:16 +0000 (10:47 +0000)]
Split too long file, various cleanups

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

16 years agoRemove comments written in french (sigh), remove the unused (and not functionnal...
mquinson [Wed, 11 Jul 2007 09:45:03 +0000 (09:45 +0000)]
Remove comments written in french (sigh), remove the unused (and not functionnal) generate_deployment function, add new option: --extra-process to generate wrappers for processes not in the deployment file

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

16 years agocosmetics: enforce prototype checking on callbacks in SIMIX_function_register_process...
mquinson [Wed, 11 Jul 2007 07:46:56 +0000 (07:46 +0000)]
cosmetics: enforce prototype checking on callbacks in SIMIX_function_register_process_create/kill

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

16 years agoMove a private symbol (that I may want to kill soon) out of user's sight
mquinson [Wed, 11 Jul 2007 07:20:18 +0000 (07:20 +0000)]
Move a private symbol (that I may want to kill soon) out of user's sight

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

16 years agoyeah, right
mquinson [Tue, 10 Jul 2007 20:44:15 +0000 (20:44 +0000)]
yeah, right

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

16 years agoIgnore it, it's just a deseperate try to explain CVS that this version is better...
mquinson [Tue, 10 Jul 2007 20:39:21 +0000 (20:39 +0000)]
Ignore it, it's just a deseperate try to explain CVS that this version is better than the older one

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

16 years agoKill the types xbt_context_function_t, smx_process_code_t and m_process_code_t; use...
mquinson [Tue, 10 Jul 2007 20:36:12 +0000 (20:36 +0000)]
Kill the types xbt_context_function_t, smx_process_code_t and m_process_code_t; use a uniq xbt_main_func_t defined in include/src/function_types.h instead. This reduces the amount of supurious casts around, and prevent me from introducing yet another 'gras_process_code_t' alias ;) This symbol was part of the MSG public interface, but I doubt any user ever created a variable of that type (this is a pointer to function)

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

16 years agoStupid me. The code produced by the gras_stub_generator need these symbols, making...
mquinson [Tue, 10 Jul 2007 20:28:02 +0000 (20:28 +0000)]
Stupid me. The code produced by the gras_stub_generator need these symbols, making them public (sorry for the noise)

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

16 years agoArg. Move private symbols out of the public header. They are only used in SG, and...
mquinson [Tue, 10 Jul 2007 20:11:32 +0000 (20:11 +0000)]
Arg. Move private symbols out of the public header. They are only used in SG, and have no sense in RL

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

16 years agoArg. Move private symbols out of the public header. They are only used in SG, and...
mquinson [Tue, 10 Jul 2007 19:47:51 +0000 (19:47 +0000)]
Arg. Move private symbols out of the public header. They are only used in SG, and have no sense in RL

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

16 years agotimeout on conditions
mquinson [Tue, 10 Jul 2007 18:05:15 +0000 (18:05 +0000)]
timeout on conditions

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

16 years agoadd the ability to specify a timeout on waiting a condition in every interfaces ...
mquinson [Tue, 10 Jul 2007 18:04:52 +0000 (18:04 +0000)]
add the ability to specify a timeout on waiting a condition in every interfaces (but windows, I personnaly dunno how to do it), and use it in the queues

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

16 years agosanitize file naming space
mquinson [Tue, 10 Jul 2007 17:54:50 +0000 (17:54 +0000)]
sanitize file naming space

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

16 years agotypos preventing the java disabling from working
mquinson [Tue, 10 Jul 2007 17:29:51 +0000 (17:29 +0000)]
typos preventing the java disabling from working

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

16 years agoComment a windows hack which is out of sync with log layers addition and prevent...
mquinson [Tue, 10 Jul 2007 17:29:01 +0000 (17:29 +0000)]
Comment a windows hack which is out of sync with log layers addition and prevent the lib from compiling. It may happen that this hack is indeed mandatory to *use* the library. In this case, we'il have to update it

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

16 years agoops, wasn't compilable under windows
mquinson [Tue, 10 Jul 2007 17:25:53 +0000 (17:25 +0000)]
ops, wasn't compilable under windows

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

16 years agoMake sure min and max macro are declared everywhere in simgrid
mquinson [Tue, 10 Jul 2007 16:40:20 +0000 (16:40 +0000)]
Make sure min and max macro are declared everywhere in simgrid

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

16 years agorename xbt_portability.h and sysdep.c to xbt_os_time.h and xbt_os_time.c to express...
mquinson [Tue, 10 Jul 2007 16:36:32 +0000 (16:36 +0000)]
rename xbt_portability.h and sysdep.c to xbt_os_time.h and xbt_os_time.c to express more clearly what they do

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

16 years agoWindows don't have any pthread implementation...
mquinson [Tue, 10 Jul 2007 16:29:28 +0000 (16:29 +0000)]
Windows don't have any pthread implementation...

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

16 years agoSplit up a too long file, taking the oportunity to sanitize the file naming spacec
mquinson [Tue, 10 Jul 2007 15:58:15 +0000 (15:58 +0000)]
Split up a too long file, taking the oportunity to sanitize the file naming spacec

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

16 years agoSplit up a too long file, taking the oportunity to sanitize the file naming spacec
mquinson [Tue, 10 Jul 2007 13:04:30 +0000 (13:04 +0000)]
Split up a too long file, taking the oportunity to sanitize the file naming spacec

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

16 years agosome more work on smpi_sender and smpi_receiver. It'd be nice to be in
markls [Tue, 10 Jul 2007 05:55:06 +0000 (05:55 +0000)]
some more work on smpi_sender and smpi_receiver.  It'd be nice to be in
a position to do unit testing...

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

16 years agoHello module xbt/queue (classical producer/consumer synchronization scheme)
mquinson [Mon, 9 Jul 2007 18:41:52 +0000 (18:41 +0000)]
Hello module xbt/queue (classical producer/consumer synchronization scheme)

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

16 years agoWe need the os threads here
mquinson [Mon, 9 Jul 2007 17:50:44 +0000 (17:50 +0000)]
We need the os threads here

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