Changeset 64b6449


Ignore:
Timestamp:
Mar 29, 2009, 7:02:30 PM (15 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
owl
Children:
6fdef66
Parents:
228326a
Message:
try owl_zephyr_process_events() at the end of owl_zephyr_handle_ack()
   to address race condition.  Also one after the select in the main
   loop for good measure.
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • owl.c

    r61f7250 r64b6449  
    617617    }
    618618
     619    /* select on FDs we know about. */
     620
    619621    /* Some calls into libzephyr call Z_WaitForNotice(), which has its
    620622     * own select loop and may leave zephyrs on the queue. Check for
    621623     * them now, and process any we find. */
    622624    owl_zephyr_process_events(NULL);
    623 
    624     /* select on FDs we know about. */
    625625    owl_select();
    626 
     626    owl_zephyr_process_events(NULL);
     627   
    627628    /* Log any error signals */
    628629    {
  • owl.h

    r3674002 r64b6449  
    4747
    4848#define OWL_VERSION         2.2.0
    49 #define OWL_VERSION_STRING "2.2.0-pre1"
     49#define OWL_VERSION_STRING "2.2.0-pre2"
    5050
    5151/* Feature that is being tested to redirect stderr through a pipe.
  • zephyr.c

    r9b9e2d9c r64b6449  
    527527    owl_function_error("Internal error on ack (%s)", retnotice->z_message);
    528528  }
     529  owl_zephyr_process_events(NULL);
    529530}
    530531#else
Note: See TracChangeset for help on using the changeset viewer.