Commit graph

4 commits

Author SHA1 Message Date
Mark Landis (N6AZX) 9a37f2c680 Replace thread sleep with condition variables
Second patch in the improve-shutdown series. This replaces blocking
sleeps with the use of condition variables for signaling thread
shutdown. The details are:

(1) Create CSimpleCondition class to provide a very basic (simple)
    condition variable that can be used in situations where external
    mutex control is not required, i.e., the class contains both a
    managed mutex and condition variable. Instances of this class
    can be used for basic signaling, and waiters can specify user
    defined predicates.

(2) Replace instances of large sleeps in worker threads with use of
    CSimpleCondition. This allows for very quick response times from
    worker threads when a shutdown has been initiated.

(3) Change stop thread booleans to atomic_bool.

(4) Fixes small whitespace discprencies.
2023-01-01 20:38:07 -08:00
LX3JL cb989fd8de xlxd 2.4.1
Corrected bug : last packets of a stream are sent back to sender
2021-01-05 10:36:36 +01:00
Marius Petrescu, YO2LOJ 73648794f0 Update and cleanup
- created raw socket class
- moved udp recv via msg to a derived class
- option file read optimized
2020-02-22 16:38:56 +02:00
Marius Petrescu, YO2LOJ 66bd9aca8a Added G3 Terminal Support
Added G3 Terminal Support for ICom-9700 and Icom Plus2 series
2019-12-15 12:46:50 +02:00