cherierm [Tue, 23 Oct 2007 11:26:19 +0000 (11:26 +0000)]
Mac OS X doesn't provide the sem_timedwait() function.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4854
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
cherierm [Tue, 23 Oct 2007 09:54:00 +0000 (09:54 +0000)]
Just add the simgrid library in the entries of the linker of Visual C++.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4853
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
cherierm [Tue, 23 Oct 2007 09:53:15 +0000 (09:53 +0000)]
This change is about the the add-on of the semaphore examples and by the implementation of the gettimeofday() functions for Windows.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4852
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
cherierm [Tue, 23 Oct 2007 09:48:57 +0000 (09:48 +0000)]
Add the Visual C++ projects of the new examples sem_basic and sem_sched.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4851
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
cherierm [Tue, 23 Oct 2007 09:42:53 +0000 (09:42 +0000)]
This new directory contains two samples explaining the usage of the semaphore interface provide by the xbt layer.
The first example : sem_basic, show how to use a semaphore to manage the access of a global variable shared by multiple threads.
The second example : sem_sched, show how to use the semaphore interface to implement a simple context switch based on threads.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4850
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
cherierm [Tue, 23 Oct 2007 09:38:51 +0000 (09:38 +0000)]
This implement the function gettimeofday() for win32 (Visual C++ does not provides this function)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4849
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
cherierm [Tue, 23 Oct 2007 09:37:14 +0000 (09:37 +0000)]
This change is about the refactoring of the source code of the objects use int the msg synchronization mechanism :
- the functions xbt_os_mutex_lock() and xbt_os_mutex_unlock() are renamed xbt_os_mutex_acquire() and xbt_os_mutex_release() respectively
- the functions xbt_os_sem_wait() and xbt_os_sem_post() are renamed xbt_os_sem_acquire() and xbt_os_sem_release() respectively
This renaming impacts the folowing files :
- xbt_os_thread.h and xbt_os_thread.c
- context.c
- xbt_rl_synchro.c
- run_context.c
In addition the function unschedule() declared an defined in the file context.c is renamed yield().
The prototype of the function xbt_os_sem_init() takes now only one parameter : the initial value of the semaphore.
The second parameter of the function xbt_os_sem_timedacquire() which replace the function xbt_os_sem_timedwait() is now a double (desired timeout in seconds).
To finish, the semaphore interface of the xbt portability layer does not expose the functions xbt_os_sem_open() and xbt_sem_close().
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4848
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
cherierm [Mon, 22 Oct 2007 15:02:21 +0000 (15:02 +0000)]
use the XBT_EXPORT_NO_IMPORT macro instead XBT_PUBLIC_DATA and add the keyword extern to avoid the gcc compiler warnings
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4847
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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