Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move datadesc and TCP sockets from GRAS to XBT.
authorChristophe Thiéry <christopho128@gmail.com>
Tue, 31 Jan 2012 16:01:30 +0000 (17:01 +0100)
committerChristophe Thiéry <christopho128@gmail.com>
Tue, 31 Jan 2012 16:39:01 +0000 (17:39 +0100)
commit2d16ebcee6bde01575b4cd88a853e1ac1c2532bf
tree3049889c2a0ac4b6d5ac82f75384d665788bf3c1
parent2472771bffee0a2c29b69a2e2b6206f0bb819af1
Move datadesc and TCP sockets from GRAS to XBT.

XBT supports sockets with explicit choice of the transport plugin.
XBT provides only one transport plugin: TCP (i.e. real sockets) and
allows other layers to write their custom plugins.
GRAS implements such custom plugins: simulated sockets and file sockets.

TCP sockets only existed in GRAS RL mode. They can now also be used in
GRAS SG mode.
More pieces of GRAS remain to be moved to XBT before TCP sockets can
also be used outside GRAS (e.g. in SIMIX 3, one day, to distribute the
simulation).
85 files changed:
buildtools/Cmake/CompleteInFiles.cmake
buildtools/Cmake/DefinePackages.cmake
buildtools/Cmake/MaintainerMode.cmake
buildtools/Cmake/Supernovae.cmake
examples/amok/bandwidth/bandwidth.c
examples/amok/saturate/env.c
examples/amok/saturate/saturate.c
examples/gras/all2all/all2all.c
examples/gras/console/ping_client.c
examples/gras/console/ping_common.c
examples/gras/console/ping_server.c
examples/gras/mmrpc/mmrpc.c
examples/gras/mmrpc/mmrpc_client.c
examples/gras/mmrpc/mmrpc_common.c
examples/gras/mmrpc/mmrpc_server.c
examples/gras/mutual_exclusion/simple_token/simple_token.c
examples/gras/p2p/can/can.c
examples/gras/p2p/can/can_tests.c
examples/gras/p2p/chord/chord.c
examples/gras/ping/ping_client.c
examples/gras/ping/ping_common.c
examples/gras/ping/ping_server.c
examples/gras/pmm/pmm.c
examples/gras/replay/replay.c
examples/gras/replay/xbt_workload.c
examples/gras/rpc/rpc.c
include/amok/bandwidth.h
include/amok/peermanagement.h
include/gras.h
include/gras/emul.h
include/gras/messages.h
include/gras/transport.h
include/xbt.h
include/xbt/datadesc.h [moved from include/gras/datadesc.h with 51% similarity]
include/xbt/socket.h [new file with mode: 0644]
src/amok/Bandwidth/bandwidth.c
src/amok/Bandwidth/saturate.c
src/amok/PeerManagement/peermanagement.c
src/gras/DataDesc/datadesc.c [deleted file]
src/gras/DataDesc/datadesc_interface.h [deleted file]
src/gras/DataDesc/datadesc_private.h [deleted file]
src/gras/DataDesc/ddt_parse.yy.h [deleted file]
src/gras/DataDesc/ddt_parse.yy.l [deleted file]
src/gras/Msg/gras_msg_exchange.c
src/gras/Msg/gras_msg_listener.c
src/gras/Msg/gras_msg_types.c
src/gras/Msg/msg_interface.h
src/gras/Msg/msg_private.h
src/gras/Msg/rl_msg.c
src/gras/Msg/rpc.c
src/gras/Msg/sg_msg.c
src/gras/Transport/README
src/gras/Transport/rl_transport.c
src/gras/Transport/sg_transport.c
src/gras/Transport/transport.c
src/gras/Transport/transport_interface.h
src/gras/Transport/transport_plugin_file.c
src/gras/Transport/transport_plugin_sg.c
src/gras/Transport/transport_private.h
src/gras/Virtu/process.c
src/gras/Virtu/sg_process.c
src/gras/Virtu/virtu_sg.h
src/gras/gras.c
src/gras_modinter.h
src/xbt/datadesc/cbps.c [moved from src/gras/DataDesc/cbps.c with 72% similarity]
src/xbt/datadesc/datadesc.c [new file with mode: 0644]
src/xbt/datadesc/datadesc_interface.h [new file with mode: 0644]
src/xbt/datadesc/datadesc_private.h [new file with mode: 0644]
src/xbt/datadesc/ddt_convert.c [moved from src/gras/DataDesc/ddt_convert.c with 69% similarity]
src/xbt/datadesc/ddt_create.c [moved from src/gras/DataDesc/ddt_create.c with 67% similarity]
src/xbt/datadesc/ddt_exchange.c [moved from src/gras/DataDesc/ddt_exchange.c with 73% similarity]
src/xbt/datadesc/ddt_parse.c [moved from src/gras/DataDesc/ddt_parse.c with 64% similarity]
src/xbt/datadesc/ddt_parse.yy.c [moved from src/gras/DataDesc/ddt_parse.yy.c with 73% similarity]
src/xbt/datadesc/ddt_parse.yy.h [new file with mode: 0644]
src/xbt/datadesc/ddt_parse.yy.l [new file with mode: 0644]
src/xbt/xbt_main.c
src/xbt/xbt_socket.c [new file with mode: 0644]
src/xbt/xbt_socket_private.h [new file with mode: 0644]
src/xbt/xbt_trp_plugin_tcp.c [moved from src/gras/Transport/transport_plugin_tcp.c with 72% similarity]
src/xbt_modinter.h
teshsuite/gras/README
teshsuite/gras/datadesc/datadesc_structs.c
teshsuite/gras/datadesc/datadesc_usage.c
teshsuite/gras/datadesc/mk_datadesc_structs.pl
teshsuite/gras/msg_handle/msg_handle.c