From: Christopher Faulet Date: Thu, 25 Apr 2024 07:49:00 +0000 (+0200) Subject: MINOR: peers: Add comment on processing functions of the sync task X-Git-Tag: v3.0-dev9~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdcfacdb7894d5ae870550477a70c756853c8b94;p=thirdparty%2Fhaproxy.git MINOR: peers: Add comment on processing functions of the sync task Just add a comment on __process_running_peer_sync() and __process_stopping_peer_sync() functions. --- diff --git a/src/peers.c b/src/peers.c index 129d28fef8..d854780711 100644 --- a/src/peers.c +++ b/src/peers.c @@ -3385,6 +3385,7 @@ static void sync_peer_app_state(struct peers *peers, struct peer *peer) } } +/* Process the sync task for a running process. It is called from process_peer_sync() only */ static void __process_running_peer_sync(struct task *task, struct peers *peers, unsigned int state) { struct peer *ps; @@ -3554,6 +3555,7 @@ static void __process_running_peer_sync(struct task *task, struct peers *peers, } } +/* Process the sync task for a stopping process. It is called from process_peer_sync() only */ static void __process_stopping_peer_sync(struct task *task, struct peers *peers, unsigned int state) { struct peer *ps;