Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simgrid.git
16 years agothis declarations and definitions are only concerned by the thread implementation...
cherierm [Mon, 22 Oct 2007 11:36:59 +0000 (11:36 +0000)]
this declarations and definitions are only concerned by the thread implementation of the xbt context

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

16 years agoThis change exports the gras_procdata pointer and use the Win32 function GetCurrentPr...
cherierm [Mon, 22 Oct 2007 09:29:37 +0000 (09:29 +0000)]
This change exports the gras_procdata pointer and use the Win32 function GetCurrentProcessId() instead the function GetCurrentProcess() to get the process identifier

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

16 years agoVisual C++ already declare the isatty function in the header.h. So this change avoids...
cherierm [Mon, 22 Oct 2007 09:24:55 +0000 (09:24 +0000)]
Visual C++ already declare the isatty function in the header.h. So this change avoids the warning cause by this redeclaration for this compiler.

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

16 years agoRemove the keyword extern to avoid the multiple declaration of the the variables...
cherierm [Mon, 22 Oct 2007 09:18:51 +0000 (09:18 +0000)]
Remove the keyword extern to avoid the multiple declaration of the the variables declared with the macro XBT_PUBLIC_DATA;

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

16 years agoVisual C++ already declare the isatty function in io.h. So this change avoids a warni...
cherierm [Mon, 22 Oct 2007 09:06:52 +0000 (09:06 +0000)]
Visual C++ already declare the isatty function in io.h. So this change avoids a warning for this compiler.

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

16 years agoVisual C++ already declare the environ variable in the stdlib.h. So this redeclaratio...
cherierm [Mon, 22 Oct 2007 09:02:24 +0000 (09:02 +0000)]
Visual C++ already declare the environ variable in the stdlib.h. So this redeclaration cause a warning for this compiler. The declaration of this variable is now platform depend (WIN32 doesn't need this declaration). The pointer of the callback functions context default an context terminate are now exported in the Win32 dll.

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

16 years agoRemove the return keyword at the end of the void function.
cherierm [Mon, 22 Oct 2007 08:55:32 +0000 (08:55 +0000)]
Remove the return keyword at the end of the void function.

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

16 years agoDirectly returns the newly created condition.
cherierm [Mon, 22 Oct 2007 08:54:16 +0000 (08:54 +0000)]
Directly returns the newly created condition.

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

16 years agoThis change concerne the usage of the semaphore object instead the variable condition...
cherierm [Mon, 22 Oct 2007 08:51:31 +0000 (08:51 +0000)]
This change concerne the usage of the semaphore object instead the variable condition to synchronize the msg processes during a simulation.
The xbt_os_sem_t type represents a semaphore and you' ll find its declaration in the header xbt_os_thread.h and its implementation in the file xbt_os_thread.c.
The file portable.h is modified to declare the function gettimeofday() used by many several other functions such the function xbt_os_sem_timedwait() declared in
the header xbt_os_thread.h. The context structure declared in the header context_private.h is modified to use the semaphore instead the condition variable.

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

16 years agoThis, modify the declaration of type of function pointer. It also clear the warnings...
cherierm [Mon, 22 Oct 2007 08:37:06 +0000 (08:37 +0000)]
This, modify the declaration of type of function pointer. It also clear the warnings throws by the compiler Visual C++ when occurs a comparison between an unsigned with and a signed integer.

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

16 years agoKill a rather outdated section.
mquinson [Sun, 21 Oct 2007 07:46:30 +0000 (07:46 +0000)]
Kill a rather outdated section.

Most parts are now in the History document, for the curious.
The rest, such as "we want to make everything as clean as possible
before releasing SimGrid v.3" can certainly be removed now that
SimGrid v3 is released since two years.

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

16 years agoRename section title to betterly express the agenda (generating platforms, then expre...
mquinson [Fri, 19 Oct 2007 10:13:22 +0000 (10:13 +0000)]
Rename section title to betterly express the agenda (generating platforms, then expressing specific things in them, then ...)

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

16 years agoImprove section about platform generation/mapping/collection
mquinson [Fri, 19 Oct 2007 10:01:38 +0000 (10:01 +0000)]
Improve section about platform generation/mapping/collection

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

16 years agostrlen does not return int but size_t on 64bits
mquinson [Thu, 18 Oct 2007 08:59:21 +0000 (08:59 +0000)]
strlen does not return int but size_t on 64bits

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

16 years ago'major bug' fix in ptask_L07.
alegrand [Tue, 16 Oct 2007 13:54:48 +0000 (13:54 +0000)]
'major bug' fix in ptask_L07.

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

16 years agoImprove debug readability.
alegrand [Tue, 16 Oct 2007 13:53:16 +0000 (13:53 +0000)]
Improve debug readability.

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

16 years agoAdding a new test.
alegrand [Fri, 12 Oct 2007 10:31:51 +0000 (10:31 +0000)]
Adding a new test.

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

16 years agocode cleanup, streamlining, removed some redundant function calls.
markls [Fri, 12 Oct 2007 10:29:31 +0000 (10:29 +0000)]
code cleanup, streamlining, removed some redundant function calls.

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

16 years agoLet's be VPATH friendly
mquinson [Fri, 12 Oct 2007 09:16:36 +0000 (09:16 +0000)]
Let's be VPATH friendly

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

16 years agoAllow java to compile in VPATH settings (at the price of a GNUism in the makefile)
mquinson [Fri, 12 Oct 2007 09:02:48 +0000 (09:02 +0000)]
Allow java to compile in VPATH settings (at the price of a GNUism in the makefile)

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

16 years agoAutogenerated
mquinson [Fri, 12 Oct 2007 08:29:53 +0000 (08:29 +0000)]
Autogenerated

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

16 years agoOops, I forgot this one
mquinson [Fri, 12 Oct 2007 08:26:54 +0000 (08:26 +0000)]
Oops, I forgot this one

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

16 years agoEnforce some order on the tags; needs flexml 1.8 to get relevant error messages when...
mquinson [Fri, 12 Oct 2007 08:26:26 +0000 (08:26 +0000)]
Enforce some order on the tags; needs flexml 1.8 to get relevant error messages when the order is violated by the document

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

16 years agoignore more cruft
mquinson [Fri, 12 Oct 2007 08:21:24 +0000 (08:21 +0000)]
ignore more cruft

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

16 years agotypo
mquinson [Fri, 12 Oct 2007 08:21:03 +0000 (08:21 +0000)]
typo

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

16 years agoDo not truncate the output on large messages, but switch to a dynamically allocated...
mquinson [Fri, 12 Oct 2007 08:19:46 +0000 (08:19 +0000)]
Do not truncate the output on large messages, but switch to a dynamically allocated buffer

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

16 years agoreturn NULL to avoid that the function returns an invalid pointer
cherierm [Thu, 11 Oct 2007 10:27:01 +0000 (10:27 +0000)]
return NULL to avoid that the function returns an invalid pointer

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

16 years agothis directory contains all the projects of the exemples msg and simdag for Visual C++
cherierm [Thu, 11 Oct 2007 10:17:17 +0000 (10:17 +0000)]
this directory contains all the projects of the exemples msg and simdag for Visual C++

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

16 years agoadd the project group of simgrid (contains the msg samples and the simdag sample)
cherierm [Thu, 11 Oct 2007 09:20:41 +0000 (09:20 +0000)]
add the project group of simgrid (contains the msg samples and the simdag sample)

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

16 years agodelete the account of the buildbot
cherierm [Thu, 11 Oct 2007 09:13:08 +0000 (09:13 +0000)]
delete the account of the buildbot

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

16 years agoMove string buffers from 'private to tesh' to 'public in xbt' (I'm gonna use them...
mquinson [Thu, 11 Oct 2007 07:41:42 +0000 (07:41 +0000)]
Move string buffers from 'private to tesh' to 'public in xbt' (I'm gonna use them in logs for messages too long to fit into the statically sized string buffer)

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

16 years agoMove private definition out of the log.h public header. Moreover, this public header...
mquinson [Thu, 11 Oct 2007 06:57:25 +0000 (06:57 +0000)]
Move private definition out of the log.h public header. Moreover, this public header is already complicated enough, and loaded everywhere

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

16 years agoDo truncate files before writting into it (gras file sockets are streams, seeking...
mquinson [Thu, 11 Oct 2007 06:22:35 +0000 (06:22 +0000)]
Do truncate files before writting into it (gras file sockets are streams, seeking into it to change only subparts is a non-sense)

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

16 years agoErm. Really revalidate this dataset (old one must be removed before regeneration...
mquinson [Wed, 10 Oct 2007 22:56:54 +0000 (22:56 +0000)]
Erm. Really revalidate this dataset (old one must be removed before regeneration since server file sockets do not blank the file before use).

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

16 years agoRevalidate this dataset after the move to full blown messages instead of direct trans...
mquinson [Wed, 10 Oct 2007 22:50:27 +0000 (22:50 +0000)]
Revalidate this dataset after the move to full blown messages instead of direct transport layer use

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

16 years agoLet's play safe here and don't loose the first char if the socket was already tested...
mquinson [Wed, 10 Oct 2007 22:44:47 +0000 (22:44 +0000)]
Let's play safe here and don't loose the first char if the socket was already tested alive in hte last select, but not read from by caller (which would be such a weirdo)

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

16 years agocosmetics
mquinson [Wed, 10 Oct 2007 22:43:31 +0000 (22:43 +0000)]
cosmetics

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

16 years agoDisplay hexa representation of the borken header if any, since it's often binary...
mquinson [Wed, 10 Oct 2007 22:42:59 +0000 (22:42 +0000)]
Display hexa representation of the borken header if any, since it's often binary garbage

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

16 years agoChange completely the test to use messages instead of mucking directly with the trans...
mquinson [Wed, 10 Oct 2007 22:41:46 +0000 (22:41 +0000)]
Change completely the test to use messages instead of mucking directly with the transport layer: the listener thread won't let us play in his garden so easily

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

16 years agoDo display where the exception comes from when dealing with remote exceptions
mquinson [Wed, 10 Oct 2007 15:56:21 +0000 (15:56 +0000)]
Do display where the exception comes from when dealing with remote exceptions

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

16 years agocosmetics
mquinson [Wed, 10 Oct 2007 15:55:26 +0000 (15:55 +0000)]
cosmetics

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

16 years agoDo not use recv() but read() to check whether a socket returned by select() is valid...
mquinson [Wed, 10 Oct 2007 15:54:23 +0000 (15:54 +0000)]
Do not use recv() but read() to check whether a socket returned by select() is valid to use or good to close. That way, it works not only for real sockets but also for file ones. This implies having a 1-byte-long buffer in the socket for the data we got during this check, and using this micro buffer before the rest of the content in the gras_*_recv()

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

16 years agoKill old cruft
mquinson [Wed, 10 Oct 2007 15:49:30 +0000 (15:49 +0000)]
Kill old cruft

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

16 years agoAnd now, make sure that the logging of the log module do not appear all the time...
mquinson [Wed, 10 Oct 2007 12:38:37 +0000 (12:38 +0000)]
And now, make sure that the logging of the log module do not appear all the time, but only when the module is under debug

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

16 years agoSome more debugging, plus killing a stupid bug: when searching in a tree, exploring...
mquinson [Wed, 10 Oct 2007 12:26:22 +0000 (12:26 +0000)]
Some more debugging, plus killing a stupid bug: when searching in a tree, exploring the first branch [and raising a not_found exception on the first leave] is not quite enough

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

16 years agoupdated to use branching-tree broadcast instead of for-loop.
markls [Wed, 10 Oct 2007 00:34:58 +0000 (00:34 +0000)]
updated to use branching-tree broadcast instead of for-loop.

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

16 years agoWhen the logs are not usable because we are before xbt_init, do intialize them instea...
mquinson [Tue, 9 Oct 2007 14:47:35 +0000 (14:47 +0000)]
When the logs are not usable because we are before xbt_init, do intialize them instead of whining

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

16 years agoSome comments in the initalization of categories. Once again, remove the misplaced...
mquinson [Tue, 9 Oct 2007 14:45:00 +0000 (14:45 +0000)]
Some comments in the initalization of categories. Once again, remove the misplaced WIN portability cruft. Malek, search for your name in the comments...

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

16 years agoOther useless copyright notice updates
mquinson [Fri, 5 Oct 2007 09:09:38 +0000 (09:09 +0000)]
Other useless copyright notice updates

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

16 years agoGot bored during a meeting: fix the copyright notice of several useless files (found...
mquinson [Fri, 5 Oct 2007 08:53:59 +0000 (08:53 +0000)]
Got bored during a meeting: fix the copyright notice of several useless files (found nothing more useless)

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

16 years agofight against multiple 'extern' specification
mquinson [Thu, 4 Oct 2007 14:22:11 +0000 (14:22 +0000)]
fight against multiple 'extern' specification

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

16 years agoMark data as extern; hopefully it'll help the macOSx linker
mquinson [Thu, 4 Oct 2007 14:03:48 +0000 (14:03 +0000)]
Mark data as extern; hopefully it'll help the macOSx linker

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

16 years agocosmetics around portability
mquinson [Thu, 4 Oct 2007 13:21:12 +0000 (13:21 +0000)]
cosmetics around portability

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

16 years agokill some misplaced portability bits, leftover from the conversion from OS synchroniz...
mquinson [Thu, 4 Oct 2007 13:17:12 +0000 (13:17 +0000)]
kill some misplaced portability bits, leftover from the conversion from OS synchronization to java one

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

16 years agoGcc is *very* permissive with pointers to functions. If we declare them as function...
mquinson [Thu, 4 Oct 2007 13:07:35 +0000 (13:07 +0000)]
Gcc is *very* permissive with pointers to functions. If we declare them as function, it understands that we meant pointer to functions. If we try to call a pointer to function, it understand we want to dereference that pointer before the call. Visual C++ is not that cleaver (what a surprise). So, try to sanitize a bit the situation by doing the Right Thing without expecting the compiler to understand what we really meant in the middle of what we said. (sorry for the huge diff)

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

16 years agoCleanup parts of malek's mess: reintroduce the bunch of changes he erased in his...
mquinson [Thu, 4 Oct 2007 09:38:57 +0000 (09:38 +0000)]
Cleanup parts of malek's mess: reintroduce the bunch of changes he erased in his last commit; This still breaks GRAS

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

16 years agoAdd the indent command line to the coding style
mquinson [Thu, 4 Oct 2007 09:11:07 +0000 (09:11 +0000)]
Add the indent command line to the coding style

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

16 years agoLet's learn a bit of svn syntax to not tell ugly things to users
mquinson [Thu, 4 Oct 2007 08:42:29 +0000 (08:42 +0000)]
Let's learn a bit of svn syntax to not tell ugly things to users

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

16 years agoautogenerated
mquinson [Thu, 4 Oct 2007 08:28:24 +0000 (08:28 +0000)]
autogenerated

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

16 years agoautogenerated
mquinson [Thu, 4 Oct 2007 08:27:53 +0000 (08:27 +0000)]
autogenerated

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

16 years agoAllow to change the execution environment in this test (this allows to run it under...
mquinson [Thu, 4 Oct 2007 08:24:35 +0000 (08:24 +0000)]
Allow to change the execution environment in this test (this allows to run it under valgrind)

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

16 years agonow the simgrid dll is named simgrid so i have destroyed the previous dll project...
cherierm [Thu, 4 Oct 2007 08:24:07 +0000 (08:24 +0000)]
now the simgrid dll is named simgrid so i have destroyed the previous dll project and i have added the new files.

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

16 years agoignore cruft
mquinson [Thu, 4 Oct 2007 08:23:45 +0000 (08:23 +0000)]
ignore cruft

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

16 years agouse snprintf of Visual C++
cherierm [Thu, 4 Oct 2007 08:11:21 +0000 (08:11 +0000)]
use snprintf of Visual C++

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

16 years agoNow the java processes don't use the native locks so i have remove all functions...
cherierm [Thu, 4 Oct 2007 08:09:49 +0000 (08:09 +0000)]
Now the java processes don't use the native locks so i have remove all functions connected to this locks. Because in the windows  we can't signal a condition variable and wait it in the same thread i introduce a separate condition to schedule the msg processes.

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

16 years agoNow the java processes don't use the native locks
cherierm [Thu, 4 Oct 2007 08:06:19 +0000 (08:06 +0000)]
Now the java processes don't use the native locks

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

16 years agosorry martin but i really need the portable.h inclusion
cherierm [Thu, 4 Oct 2007 07:54:29 +0000 (07:54 +0000)]
sorry martin but i really need the portable.h inclusion

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

16 years agothe xbt_thread_create function must use a function pointer as first parameter
cherierm [Thu, 4 Oct 2007 07:52:40 +0000 (07:52 +0000)]
the xbt_thread_create function must use a function pointer as first parameter

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

16 years agodeclare portable snprintf and vsnprintf functions for Visual C++ 7
cherierm [Thu, 4 Oct 2007 07:51:16 +0000 (07:51 +0000)]
declare portable snprintf and vsnprintf functions for Visual C++ 7

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

16 years agothe first pointer of the xbt_thread_create() function must be a function pointer...
cherierm [Thu, 4 Oct 2007 07:46:36 +0000 (07:46 +0000)]
the first pointer of the xbt_thread_create() function must be a function pointer (not a function type ?)

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

16 years agouncomment the special definition of XBT_LOG_NEW_DEFAULT_CATEGORY macro for Windows.
cherierm [Thu, 4 Oct 2007 07:44:50 +0000 (07:44 +0000)]
uncomment the special definition of XBT_LOG_NEW_DEFAULT_CATEGORY macro for Windows.
The windows version of the lib need it

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

16 years agoI just add two function pointer types.
cherierm [Thu, 4 Oct 2007 07:40:48 +0000 (07:40 +0000)]
I just add two function pointer types.

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

16 years agoOps, this was published in heteropar, not grid
mquinson [Thu, 27 Sep 2007 14:42:28 +0000 (14:42 +0000)]
Ops, this was published in heteropar, not grid

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

16 years agoautogenerated file
alegrand [Thu, 27 Sep 2007 07:52:56 +0000 (07:52 +0000)]
autogenerated file

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

16 years agoAdd the test with failures.
alegrand [Thu, 27 Sep 2007 07:52:50 +0000 (07:52 +0000)]
Add the test with failures.

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

16 years agoRemove useless file and update tesh file accordingly...
alegrand [Thu, 27 Sep 2007 07:52:43 +0000 (07:52 +0000)]
Remove useless file and update tesh file accordingly...

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

16 years agoUse the right file...
alegrand [Thu, 27 Sep 2007 07:52:37 +0000 (07:52 +0000)]
Use the right file...

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

16 years agoexternal_publi++
mquinson [Wed, 26 Sep 2007 21:55:45 +0000 (21:55 +0000)]
external_publi++

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

16 years agoRevert "Adding the prototype for the callback on startup mechanism."
alegrand [Wed, 26 Sep 2007 21:52:07 +0000 (21:52 +0000)]
Revert "Adding the prototype for the callback on startup mechanism."

This reverts commit 0eb7621025a933db4ac7fbbec8e4646dd8bc279e.

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

16 years agoAdding the prototype for the callback on startup mechanism.
alegrand [Wed, 26 Sep 2007 21:48:00 +0000 (21:48 +0000)]
Adding the prototype for the callback on startup mechanism.

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

16 years agoautogenerated file
alegrand [Wed, 26 Sep 2007 21:47:46 +0000 (21:47 +0000)]
autogenerated file

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

16 years agomoving basic tests + revalidating tesh files.
alegrand [Wed, 26 Sep 2007 21:46:05 +0000 (21:46 +0000)]
moving basic tests + revalidating tesh files.

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

16 years agoignore binaries and cruft
mquinson [Wed, 26 Sep 2007 21:36:59 +0000 (21:36 +0000)]
ignore binaries and cruft

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

16 years agoMake teshsuite/simdag/network/test_reinit_costs work as expected.
alegrand [Wed, 26 Sep 2007 21:21:03 +0000 (21:21 +0000)]
Make teshsuite/simdag/network/test_reinit_costs work as expected.

parallel_task_network_link_set should have been private but I need it
"public" to ensure that it will be free at the end. Anyway, I only use
it at the right place now. I reset it before use though, just in case
somebody else mess with it again.

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

16 years agoautogenerated file.
alegrand [Wed, 26 Sep 2007 19:40:16 +0000 (19:40 +0000)]
autogenerated file.

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

16 years agoAdding Louis-Claude Canon's tests.
alegrand [Wed, 26 Sep 2007 19:40:11 +0000 (19:40 +0000)]
Adding Louis-Claude Canon's tests.

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

16 years agoA whole bunch of test units from Sascha and Fred. Many thanks, dudes
mquinson [Wed, 26 Sep 2007 19:11:40 +0000 (19:11 +0000)]
A whole bunch of test units from Sascha and Fred. Many thanks, dudes

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

16 years agoUpdate the doc with last reorganization of examples/msg/
alegrand [Wed, 26 Sep 2007 19:10:43 +0000 (19:10 +0000)]
Update the doc with last reorganization of examples/msg/

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

16 years agoDoc + use all arguments in free function.
alegrand [Wed, 26 Sep 2007 19:10:38 +0000 (19:10 +0000)]
Doc + use all arguments in free function.

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

16 years agono need for return after a THROW (it will break the execution path, you can be sure...
mquinson [Wed, 26 Sep 2007 18:29:58 +0000 (18:29 +0000)]
no need for return after a THROW (it will break the execution path, you can be sure of that, and gcc is aware of it too)

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

16 years agorevalidate tesh outputs.
alegrand [Wed, 26 Sep 2007 16:07:33 +0000 (16:07 +0000)]
revalidate tesh outputs.

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

16 years agoThis code should not be here.
alegrand [Wed, 26 Sep 2007 16:07:30 +0000 (16:07 +0000)]
This code should not be here.

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

16 years agoWe switched to SVN
mquinson [Wed, 26 Sep 2007 15:51:30 +0000 (15:51 +0000)]
We switched to SVN

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

16 years agoDamn VPATH builds
mquinson [Wed, 26 Sep 2007 15:45:24 +0000 (15:45 +0000)]
Damn VPATH builds

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

16 years agoThis test can last a bit longer
mquinson [Wed, 26 Sep 2007 15:38:44 +0000 (15:38 +0000)]
This test can last a bit longer

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

16 years agoDuring VPATH builds, this directory may not exist
mquinson [Wed, 26 Sep 2007 15:38:28 +0000 (15:38 +0000)]
During VPATH builds, this directory may not exist

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

16 years agoAnd now, try to compile before commiting in order to not commit invalid code (sorry)
mquinson [Wed, 26 Sep 2007 15:30:06 +0000 (15:30 +0000)]
And now, try to compile before commiting in order to not commit invalid code (sorry)

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

16 years agoRevert "ucontext and java are incompatible."
alegrand [Wed, 26 Sep 2007 15:28:13 +0000 (15:28 +0000)]
Revert "ucontext and java are incompatible."

This reverts commit d2a58228e658a1d5d4a35d534868ef4f06ebb53f.

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

16 years agoRemove a wrong assert. This condition isn't supposed to be true all the time: I didn...
mquinson [Wed, 26 Sep 2007 15:28:08 +0000 (15:28 +0000)]
Remove a wrong assert. This condition isn't supposed to be true all the time: I didn't got Arnaud's code right (+ cleanup: use THROW_IMPOSSIBLE instead of assert(0))

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

16 years agoremove dead functions.
alegrand [Wed, 26 Sep 2007 15:19:06 +0000 (15:19 +0000)]
remove dead functions.

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