Logo AND Algorithmique Numérique Distribuée

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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 years agoErm
mquinson [Mon, 9 Jul 2007 17:48:08 +0000 (17:48 +0000)]
Erm

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

12 years agoFurther document last changes
mquinson [Mon, 9 Jul 2007 17:44:56 +0000 (17:44 +0000)]
Further document last changes

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

12 years agoHello xbt/synchro module (synchronization working both in simulation and real life...
mquinson [Mon, 9 Jul 2007 17:40:42 +0000 (17:40 +0000)]
Hello xbt/synchro module (synchronization working both in simulation and real life, for use in GRAS mainly but not only)

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

12 years ago.
mquinson [Mon, 9 Jul 2007 17:39:59 +0000 (17:39 +0000)]
.

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

12 years agoHello xbt/synchro module (synchronization working both in simulation and real life...
mquinson [Mon, 9 Jul 2007 17:39:13 +0000 (17:39 +0000)]
Hello xbt/synchro module (synchronization working both in simulation and real life, for use in GRAS mainly but not only). Implementation would be cleaner (and a bit faster) with ELF symbol aliasing, but I'm not sure of how it works under windows, so I prefer to play safe for now

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

12 years agorename xbt_thread, xbt_mutex and xbt_thcond to xbt_os_thread, xbt_os_mutex and xbt_os...
mquinson [Mon, 9 Jul 2007 16:32:07 +0000 (16:32 +0000)]
rename xbt_thread, xbt_mutex and xbt_thcond to xbt_os_thread, xbt_os_mutex and xbt_os_cond to make room for symbols like xbt_cond, which will be implemented with xbt_os_cond in RL, and with smx_cond in SG

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

12 years agoThis file is a stub for XBT, it has nothing to do in the gras/ dir
mquinson [Mon, 9 Jul 2007 16:30:13 +0000 (16:30 +0000)]
This file is a stub for XBT, it has nothing to do in the gras/ dir

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

12 years agoWe also need jni.h to compile (naturally) + move java checks to their own section...
mquinson [Mon, 9 Jul 2007 15:26:45 +0000 (15:26 +0000)]
We also need jni.h to compile (naturally) + move java checks to their own section (commit generated separately since they get updated when configure.ac is changed to update the $ Id $ in it

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

12 years agoWe also need jni.h to compile (naturally) + move java checks to their own section
mquinson [Mon, 9 Jul 2007 15:22:32 +0000 (15:22 +0000)]
We also need jni.h to compile (naturally) + move java checks to their own section

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

12 years agodo not break when java isn't around
mquinson [Mon, 9 Jul 2007 14:13:28 +0000 (14:13 +0000)]
do not break when java isn't around

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

12 years agoGet ready to RTFM fred about static linking
mquinson [Mon, 9 Jul 2007 10:40:09 +0000 (10:40 +0000)]
Get ready to RTFM fred about static linking

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

12 years agohello, automake-1.10
mquinson [Sun, 8 Jul 2007 21:18:15 +0000 (21:18 +0000)]
hello, automake-1.10

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

12 years agoGo for automake-1.10
mquinson [Sun, 8 Jul 2007 21:14:19 +0000 (21:14 +0000)]
Go for automake-1.10

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

12 years agoMake sure this file can be included alone (it needs va_*, which are loaded elsewhere...
mquinson [Sun, 8 Jul 2007 21:13:33 +0000 (21:13 +0000)]
Make sure this file can be included alone (it needs va_*, which are loaded elsewhere most of the time + note to Malek

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

12 years agoStop hardcoding prehistoric versions of aclocal ;)
mquinson [Sun, 8 Jul 2007 21:12:11 +0000 (21:12 +0000)]
Stop hardcoding prehistoric versions of aclocal ;)

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

12 years ago(kinda) working java wrappers by Malek and me
mquinson [Sun, 8 Jul 2007 21:11:37 +0000 (21:11 +0000)]
(kinda) working java wrappers by Malek and me

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

12 years ago(kinda) working java wrappers by Malek and me
mquinson [Sun, 8 Jul 2007 21:02:03 +0000 (21:02 +0000)]
(kinda) working java wrappers by Malek and me

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

12 years ago(kinda) working java wrappers by Malek and me
mquinson [Sun, 8 Jul 2007 20:51:53 +0000 (20:51 +0000)]
(kinda) working java wrappers by Malek and me

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

12 years agoignorable
mquinson [Sun, 8 Jul 2007 20:49:10 +0000 (20:49 +0000)]
ignorable

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

12 years agoIn reality, Java use native thread synchronization. It will change, but for now,...
mquinson [Sun, 8 Jul 2007 18:10:52 +0000 (18:10 +0000)]
In reality, Java use native thread synchronization. It will change, but for now, it complicates this file to make sure that the right symbols are defined in both version

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

12 years agos/__SIMIX_display_process_status/SIMIX_display_process_status/
mquinson [Sun, 8 Jul 2007 18:09:20 +0000 (18:09 +0000)]
s/__SIMIX_display_process_status/SIMIX_display_process_status/

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

12 years agohack around the place to get the initialization phase of java working + cosmetics
mquinson [Sun, 8 Jul 2007 18:08:13 +0000 (18:08 +0000)]
hack around the place to get the initialization phase of java working + cosmetics

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

12 years agoMore verbose on exception throwing (java still raises this)
mquinson [Sun, 8 Jul 2007 18:05:10 +0000 (18:05 +0000)]
More verbose on exception throwing (java still raises this)

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

12 years agoallow interfaces to call SIMIX_display_process_status
mquinson [Sun, 8 Jul 2007 18:03:27 +0000 (18:03 +0000)]
allow interfaces to call SIMIX_display_process_status

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

12 years agoAllow java to call __MSG_process_cleanup
mquinson [Sun, 8 Jul 2007 18:02:31 +0000 (18:02 +0000)]
Allow java to call __MSG_process_cleanup

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

12 years agotypo
mquinson [Sun, 8 Jul 2007 17:59:36 +0000 (17:59 +0000)]
typo

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

12 years agoAllow interfaces to display process status + trick around in SIMIX_jprocess_create...
mquinson [Sun, 8 Jul 2007 17:58:38 +0000 (17:58 +0000)]
Allow interfaces to display process status + trick around in SIMIX_jprocess_create (see its code) + indentation on SIMIX_process_create

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

12 years agowhen building the backtrace search the path if the binary is not right there (as...
mquinson [Sat, 7 Jul 2007 13:44:28 +0000 (13:44 +0000)]
when building the backtrace search the path if the binary is not right there (as it is the case with java) -- rah, a bit of crude system programming is good for me after so much of Java(TM) ;)

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

12 years agoDo only call addr2line on a library when we got the actual name of the library, natur...
mquinson [Sat, 7 Jul 2007 13:10:15 +0000 (13:10 +0000)]
Do only call addr2line on a library when we got the actual name of the library, naturally. I dunno how to get this name when it's not explicited in /proc/self/maps (Ideas someone?)

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

12 years agoported most of smpi_sender to simix, smpi_receiver soon to follow.
markls [Sat, 7 Jul 2007 06:08:27 +0000 (06:08 +0000)]
ported most of smpi_sender to simix, smpi_receiver soon to follow.

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

12 years agoStubs of the functions allowing the upper JAVA layer (user interface) to get back...
mquinson [Fri, 6 Jul 2007 20:27:38 +0000 (20:27 +0000)]
Stubs of the functions allowing the upper JAVA layer (user interface) to get back some information from the bottom one (context implementation). These are only stubs here because this file is not involved in libsimgrid4java; xbt_jcontext is used instead, but I'd prefer to wait before commiting this one

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

12 years agosome code allowing the upper JAVA layer (user interface) to get back some information...
mquinson [Fri, 6 Jul 2007 20:25:29 +0000 (20:25 +0000)]
some code allowing the upper JAVA layer (user interface) to get back some information from the bottom one (context implementation). This is used in the JAVA callbacks in charge of starting/stopping the java thread on behalf of the jcontext stuff

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

12 years agosome code allowing the upper JAVA layer (user interface) to pass some information...
mquinson [Fri, 6 Jul 2007 20:24:17 +0000 (20:24 +0000)]
some code allowing the upper JAVA layer (user interface) to pass some information to the bottom one (context implementation) + the code to create a SIMIX process hosting a JAVA thread (things are a bit different here)

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