Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[Messaging]
[simgrid.git] / src / gras / Transport / sg_transport.c
1 /* $Id$ */
2
3 /* sg_transport - SG specific functions for transport                       */
4
5 /* Authors: Martin Quinson                                                  */
6 /* Copyright (C) 2004 Martin Quinson.                                       */
7
8 /* This program is free software; you can redistribute it and/or modify it
9    under the terms of the license (GNU LGPL) which comes with this package. */
10
11 #include "Transport/transport_private.h"
12 //GRAS_LOG_EXTERNAL_CATEGORY(transport);
13 //GRAS_LOG_DEFAULT_CATEGORY(transport);
14
15 /**
16  * gras_trp_select:
17  *
18  * Returns the next socket to service having a message awaiting.
19  *
20  * if timeout<0, we ought to implement the adaptative timeout (FIXME)
21  *
22  * if timeout=0, do not wait for new message, only handle the ones already there.
23  *
24  * if timeout>0 and no message there, wait at most that amount of time before giving up.
25  */
26 gras_error_t 
27 gras_trp_select(double timeout,
28                 gras_socket_t **dst) {
29
30   RAISE_UNIMPLEMENTED;
31 }