Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Tweak gras_trp_*_recv() prototype. This is now (sock, char*data,int size, int bufsize...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 5 Sep 2005 22:46:23 +0000 (22:46 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 5 Sep 2005 22:46:23 +0000 (22:46 +0000)
commitedcd2651f9d3a8bb0961ade1990e602b2dc73cae
tree1c1a304780f7644689200fc95c817a7941118078
parent0cc6b4b0df3ab644470c0472b7d5a0e2f68e02b3
Tweak gras_trp_*_recv() prototype. This is now (sock, char*data,int size, int bufsize). Size is the data I absolutely want to get, and buffsize is the size of my buffer in which I copy them. This allows the buffer transport to get more data than mandatory of tcp and file transports (thus minimizing the call to the syscall read() without having to separately exchange the buffer size)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1694 48e7efb5-ca39-0410-a469-dd3cf9ba447f
src/gras/Transport/transport_interface.h
src/gras/Transport/transport_plugin_buf.c
src/gras/Transport/transport_plugin_file.c
src/gras/Transport/transport_plugin_sg.c
src/gras/Transport/transport_plugin_tcp.c