Ignore:
Timestamp:
01/24/17 16:15:50 (4 years ago)
Author:
rlacroix
Message:

Make the XIOS server(s) completely non-blocking.

This fixes some deadlocks caused by bugs in the communication protocol when using inputs and multiple contexts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/context_server.cpp

    r998 r1033  
    5757  } 
    5858 
    59   bool CContextServer::eventLoop(void) 
     59  bool CContextServer::eventLoop(bool enableEventsProcessing /*= true*/) 
    6060  { 
    6161    listen(); 
    6262    checkPendingRequest(); 
    63     processEvents(); 
     63    if (enableEventsProcessing) 
     64      processEvents(); 
    6465    return finished; 
    6566  } 
Note: See TracChangeset for help on using the changeset viewer.