1
1

Moving the comments to the right places

This commit was SVN r4073.
Этот коммит содержится в:
Prabhanjan Kambadur 2005-01-20 04:44:07 +00:00
родитель f03bb71273
Коммит 15acf6b07a
4 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -35,7 +35,7 @@
#include "mca/pcmclient/pcmclient.h"
#include "mca/pcmclient/base/base.h"
#define IMPORTANT_WINDOWS_COMMENT() \
#define IMPORTANT_WINDOWS_COMMENT() \
/* In windows, many of the socket functions return an EWOULDBLOCK instead of \
things like EAGAIN, EINPROGRESS, etc. It has been verified that this will \
not conflict with other error codes that are returned by these functions \
@ -245,9 +245,9 @@ static void mca_oob_tcp_accept(void)
sd = accept(mca_oob_tcp_component.tcp_listen_sd, (struct sockaddr*)&addr, &addrlen);
if(sd < 0) {
IMPORTANT_WINDOWS_COMMENT();
if(ompi_socket_errno == EINTR)
continue;
IMPORTANT_WINDOWS_COMMENT();
if(ompi_socket_errno != EAGAIN || ompi_socket_errno != EWOULDBLOCK)
ompi_output(0, "mca_oob_tcp_accept: accept() failed with errno %d.", ompi_socket_errno);
return;

Просмотреть файл

@ -38,7 +38,7 @@
#include "oob_tcp.h"
#include "oob_tcp_peer.h"
#define IMPORTANT_WINDOWS_COMMENT() \
#define IMPORTANT_WINDOWS_COMMENT() \
/* In windows, many of the socket functions return an EWOULDBLOCK instead of \
things like EAGAIN, EINPROGRESS, etc. It has been verified that this will \
not conflict with other error codes that are returned by these functions \

Просмотреть файл

@ -49,7 +49,7 @@
#include "ptl_tcp_sendfrag.h"
#include "ptl_tcp_sendreq.h"
#define IMPORTANT_WINDOWS_COMMENT() \
#define IMPORTANT_WINDOWS_COMMENT() \
/* In windows, many of the socket functions return an EWOULDBLOCK instead of \
things like EAGAIN, EINPROGRESS, etc. It has been verified that this will \
not conflict with other error codes that are returned by these functions \
@ -576,9 +576,9 @@ static void mca_ptl_tcp_component_accept(void)
mca_ptl_tcp_event_t *event;
int sd = accept(mca_ptl_tcp_component.tcp_listen_sd, (struct sockaddr*)&addr, &addrlen);
if(sd < 0) {
IMPORTANT_WINDOWS_COMMENT();
if(ompi_socket_errno == EINTR)
continue;
IMPORTANT_WINDOWS_COMMENT();
if(ompi_socket_errno != EAGAIN || ompi_socket_errno != EWOULDBLOCK)
ompi_output(0, "mca_ptl_tcp_component_accept: accept() failed with errno %d.", ompi_socket_errno);
return;

Просмотреть файл

@ -44,7 +44,7 @@
#include "ptl_tcp_proc.h"
#include "ptl_tcp_sendfrag.h"
#define IMPORTANT_WINDOWS_COMMENT() \
#define IMPORTANT_WINDOWS_COMMENT() \
/* In windows, many of the socket functions return an EWOULDBLOCK instead of \
things like EAGAIN, EINPROGRESS, etc. It has been verified that this will \
not conflict with other error codes that are returned by these functions \