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
Mark Landis (N6AZX)
76497403e0
Use signals for program termination
...
This commit is the first in a small series to improve the shutdown
behavior of xlxd.
(1) Ensures worker threads block signals by masking all signals prior
to the main reflector startup via CReflector::Start().
(2) Uses sigwaitinfo() in the main thread to wait on a few normal
termination signals. This works for both daemon and non-daemon
operation.
2023-01-01 20:36:19 -08:00
LX1IQ
6752c7b254
Update main.h
2022-12-08 07:22:27 +01:00
LX1IQ
d7daeb0c52
Update main.h
2022-12-08 07:20:10 +01:00
LX1IQ
adec5c8d14
Merge pull request #218 from narspt/patch-18
...
add missing UK prefixes and sync db1/db2 country.csv
2022-05-04 07:28:18 +02:00
narspt
53165886af
update/sync country.csv for dashboard2
2022-05-04 00:14:47 +01:00
narspt
4526461b02
add missing UK prefixes and sync Malaysia from db2
2022-05-04 00:10:28 +01:00
LX1IQ
53fdde921e
Merge pull request #211 from yl3im/master
...
Update callsign prefixes for Russia.
2021-12-17 06:41:50 +01:00
Inga Muste
2fc8bf65bf
Update callsign prefixes for Russia.
2021-12-17 00:15:21 +02:00
LX3JL
e87eb8e3dd
Merge pull request #209 from narspt/patch-14
...
change SetYsfCallsign() to trim callsign on null char
2021-11-18 12:57:31 +01:00
narspt
a44697cb46
xlxd 2.5.2
2021-11-18 04:33:03 +00:00
narspt
d9402c1aeb
change SetYsfCallsign() to trim callsign on null char
2021-11-18 00:45:54 +00:00
LX3JL
2fd3d875dc
xlxd 2.5.1
...
Corrected issue with IMRS repeataer disconnecting during very long QSO
2021-11-07 11:07:30 +01:00
LX3JL
190021cc29
Merge pull request #206 from jimt/patch-1
...
fix Linux AF_INET iteration segfault
2021-11-05 11:01:50 +01:00
Jim Tittsler
f8644e1f1f
fix Linux AF_INET iteration segfault
...
Prevent segfault when WireGuard is active and an interface has `ifaptr->ifa_addr == NULL`
2021-11-05 13:07:07 +09:00
LX1IQ
2a67aa7138
Update README.md
2021-11-04 07:23:17 +01:00
LX3JL
a64b20bc07
Merge pull request #202 from LX3JL/IMRS
...
implementation of Yaesu's IRMS protocol
2021-10-31 12:36:26 +01:00
LX3JL
c3de5fa893
corrected deadloop in CImrsProtocol::EncodePongPacket()
2021-10-30 23:09:48 +02:00
LX3JL
b411eb8b8a
corrected bug preventing relaying streams on module 'A' of IMRS clients
...
corrected bug xlxd not advertising module W,X,Y & Z to IMRS clients
2021-10-30 18:21:05 +02:00
LX3JL
0eea5d7bf9
Merge pull request #203 from narspt/patch-13
...
fix SetYsfCallsign() missing dmrid update
2021-10-29 18:01:09 +02:00
narspt
43c1a10832
fix SetYsfCallsign() missing dmrid update
...
this caused YSF transmissions to show-up on DMR listeners with dmrid 0
2021-10-28 23:07:52 +01:00
LX3JL
a45cdff2d2
implementation of Yaesu's IRMS protocol
2021-10-26 20:36:29 +02:00
LX1IQ
0369eba38c
Update README.md
2021-10-21 07:31:28 +02:00
LX1IQ
0b2c40a7fd
Delete sx.png
2021-10-12 08:01:10 +02:00
LX1IQ
a3dc643299
Delete ss.png
2021-10-12 08:00:59 +02:00
LX1IQ
639471c639
Delete pn.png
2021-10-12 08:00:48 +02:00
LX1IQ
28e617aba9
Delete pf.png
2021-10-12 08:00:37 +02:00
LX1IQ
6fda922a8a
Delete ps.png
2021-10-12 08:00:27 +02:00
LX1IQ
97172695bd
Delete nu.png
2021-10-12 08:00:17 +02:00
LX1IQ
0004ba22a6
Delete nf.png
2021-10-12 08:00:07 +02:00
LX1IQ
67c05506df
Delete ms.png
2021-10-12 07:59:55 +02:00
LX1IQ
ba823b1223
Delete tc.png
2021-10-12 07:59:45 +02:00
LX1IQ
de2f528923
Delete mp.png
2021-10-12 07:59:31 +02:00
LX1IQ
8ac4ec39b1
Delete mf.png
2021-10-12 07:59:21 +02:00
LX1IQ
22f9ad3b0d
Delete ky.png
2021-10-12 07:59:11 +02:00
LX1IQ
b7e8714154
Delete je.png
2021-10-12 07:59:01 +02:00
LX1IQ
e03507af89
Delete io.png
2021-10-12 07:58:50 +02:00
LX1IQ
b2158cd3ed
Delete gs.png
2021-10-12 07:58:41 +02:00
LX1IQ
73b1a11b2e
Delete gl.png
2021-10-12 07:58:32 +02:00
LX1IQ
f6a6a8b279
Delete gi.png
2021-10-12 07:58:22 +02:00
LX1IQ
b2ec300d4a
Delete gg.png
2021-10-12 07:58:13 +02:00
LX1IQ
20ca29aaab
Delete fo.png
2021-10-12 07:58:00 +02:00
LX1IQ
7480c0e2e3
Delete fk.png
2021-10-12 07:57:51 +02:00
LX1IQ
01eac2f425
Delete tk.png
2021-10-12 07:57:40 +02:00
LX1IQ
e458524d0f
Delete vg.png
2021-10-12 07:57:26 +02:00
LX1IQ
8ff74a8ba1
Delete vi.png
2021-10-12 07:57:15 +02:00
LX1IQ
6f62803661
Delete yt.png
2021-10-12 07:57:04 +02:00
LX1IQ
d0d3dd4857
Delete cx.png
2021-10-12 07:37:56 +02:00
LX1IQ
dccb2e7132
Delete cw.png
2021-10-12 07:37:48 +02:00
LX1IQ
14bff45991
Delete ck.png
2021-10-12 07:37:38 +02:00