summaryrefslogtreecommitdiff
path: root/cesar/maximus/system
diff options
context:
space:
mode:
authorCyril Jourdan2012-03-12 17:46:07 +0100
committerCyril Jourdan2012-03-30 08:15:46 +0200
commit36363b2cd0254585f555334f93aa857d2f12b6ed (patch)
tree61eaa9b10652b70477e5e84cafb5075ed8b61641 /cesar/maximus/system
parentb771134c4e4a32399158d7b280dec437d97f67c8 (diff)
cesar/{maximus, host}/sci: make read and write blocking, refs #2995
Diffstat (limited to 'cesar/maximus/system')
-rw-r--r--cesar/maximus/system/src/Station.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cesar/maximus/system/src/Station.cpp b/cesar/maximus/system/src/Station.cpp
index fba450115a..14c4ce370a 100644
--- a/cesar/maximus/system/src/Station.cpp
+++ b/cesar/maximus/system/src/Station.cpp
@@ -525,7 +525,7 @@ void Station::startProcess ( const Network_Clock_Tick current_tick_value, uint32
{
// Connect to server
//
- if((mInputFileDescriptor = open(nameBuffer, O_RDONLY | O_NONBLOCK)) >= 0)
+ if((mInputFileDescriptor = open(nameBuffer, O_RDONLY)) >= 0)
{
break;
}
@@ -543,7 +543,7 @@ void Station::startProcess ( const Network_Clock_Tick current_tick_value, uint32
// Open output pipe
sprintf(nameBuffer, "%s/%s_in_%d", STATION_PIPE_PATH, STATION_PIPE_PREFIX, getPid());
- if((mOutputFileDescriptor = open(nameBuffer, O_WRONLY | O_NONBLOCK)) < 0)
+ if((mOutputFileDescriptor = open(nameBuffer, O_WRONLY)) < 0)
{
stopProcess();
throw Error(__PRETTY_FUNCTION__, "Cannot open output pipe", errno);