]> git.ipfire.org Git - thirdparty/bird.git/commit
Unified time for whole BIRD
authorMaria Matejka <mq@ucw.cz>
Wed, 4 Aug 2021 20:48:51 +0000 (22:48 +0200)
committerMaria Matejka <mq@ucw.cz>
Mon, 22 Nov 2021 18:05:43 +0000 (19:05 +0100)
commita4451535c69b8f934523905a8131ae2f16be2146
treea600241cfdb94b6ecafb1b965c554789b453ca75
parenta2af807357875f866f149b0f6db4d463d4533204
Unified time for whole BIRD

In previous versions, every thread used its own time structures,
effectively leading to different time in every thread and strange
logging messages.

The time processing code now uses global atomic variables to keep
current time available for fast concurrent reading and safe updates.
lib/timer.c
lib/timer.h
proto/bfd/io.c
sysdep/unix/io.c
sysdep/unix/main.c