I tried to achieve some basic organization with each commit. The first hits the Thread API, then GTimeVal, and the third GStaticPrivate. The last commit is just updating the GLib version check to 2.32.0.
Mainly, this is just find and replace stuff. The only tricky part was taking an int64_t returned from g_get_real_time() and splitting it out into a struct timeval for the select function's timeout parameter. You can see that in lcm/lcm_udpm.c.
I ran the tests with make test in fc37, ubuntu 22.04, and ubuntu 20.04 containers and all tests passed. Also ran some log file playback and everything seemed unchanged.
I tried to achieve some basic organization with each commit. The first hits the Thread API, then GTimeVal, and the third GStaticPrivate. The last commit is just updating the GLib version check to
2.32.0
.Mainly, this is just find and replace stuff. The only tricky part was taking an
int64_t
returned fromg_get_real_time()
and splitting it out into astruct timeval
for theselect
function's timeout parameter. You can see that inlcm/lcm_udpm.c
.I ran the tests with
make test
in fc37, ubuntu 22.04, and ubuntu 20.04 containers and all tests passed. Also ran some log file playback and everything seemed unchanged.Closes #65.