Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
This change introduce the new mailbox concept.
authorcherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 7 Jan 2008 16:36:32 +0000 (16:36 +0000)
committercherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 7 Jan 2008 16:36:32 +0000 (16:36 +0000)
commitf3ba71e33e73c61ca467a37dda2bc3b9d5f9ed1b
treeee332b1dd9c15d57066eacfe63663f9390a6564a
parentbb38b738b6810c3e4c0be80ffc5de5eb25e62435
This change introduce the new mailbox concept.
A mailbox is a storage used to put or get an msg task. It is identified by an alias. For more information about the usage of the mailbox see the java examples alias0 and alias1 and the C example
masterslave_forwarder_with_alias in the directory /examples/msg/alias.

This change impacts the following files :

include/msg/msg.h Add the declaration of the functions related with the new concept of mailboxes.
src/msg/host.c Adapte the functions __MSG_host_create and __MSG_host_destroy to the new concept of mailboxes.
src/gos/gos.c Implementation of the functions related withe the new concept of mailboxes.

src/simix/smx_global.c Initialization et finalization of the mailbox module.

src/java/jmsg.c Implementation of the jni callback functions related with the mailbox concept.
src/java/jmsg.h Declaration of the jni callback functions related with the mailbox concept.

ApplicationHandler.java Implementation of the operations related with the properties of a process
Host.java Implementation of the operations related with the new concept of mailbox
MsgNative.java Implementation of the operations related with the new concept of mailbox
Process.java Implementation of the operations related with the new concept of mailbox
Task.java Implementation of the operations related with the new concept of mailbox

msg_mailbox.h Header containing the declaration of the functions related with the mailbox concept
msg_mailbox.c Source file containing the implementation of the functions related with the mailbox concept

directories alia0 et alias1 contain two examples to illustrate the different usages of the mailbox concept using the java interface
for msg.

directory alias contains the example masterslave_forwarder_with_alias which illustrate the usage of mailbox instead channel as in
the masterslave_forwarder example.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5163 48e7efb5-ca39-0410-a469-dd3cf9ba447f
13 files changed:
build/vc7/simgrid/all.sln
build/vc7/simgrid/simgrid.vcproj
include/msg/msg.h
src/java/jmsg.c
src/java/jmsg.h
src/java/simgrid/msg/ApplicationHandler.java
src/java/simgrid/msg/Host.java
src/java/simgrid/msg/MsgNative.java
src/java/simgrid/msg/Process.java
src/java/simgrid/msg/Task.java
src/msg/gos.c
src/msg/host.c
src/simix/smx_global.c