• Order of the Butterfly
    Order of the Butterfly
    asrael22
    Posts: 404 from 2014/6/11
    From: Germany
    Hi.

    I'm developing a small tool using Arexx on MorphOS.
    It has a MUI GUI using RxMUI and it should receive and send data using the serial device using RxSerial.
    The GUI works as well as the serial communication.
    However there are some strange hangs where i.e. the GUI only reacts when something is sent via serial.
    Or that only something can be received by serial when something is sent.

    The event loop doesn't use the RxMUI NewHandle() but the Handle() method and checks on signals using Wait() function whcih look like this:
    Code:
    Wait(or(serial.Signal, h.Signals, ctrl_c)

    Where h.Signals are MUI signals.
    But yeah, this doesn't seem to work reliable. The send and receive serial code pretty much is the same as in the RxSerial examples.

    What is going wrong here. How can I troubleshoot this further on where the hanging occurs?


    Manfred
  • »03.01.17 - 15:41
    Profile