From 34c53bc3d396934df94431f7b76972180b1b0a8c Mon Sep 17 00:00:00 2001 From: Trumeet Date: Sat, 23 Jul 2022 11:32:53 -0700 Subject: feat(acronc): guard the connection using a mutex Signed-off-by: Trumeet --- client/libacron/README.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'client/libacron/README.md') diff --git a/client/libacron/README.md b/client/libacron/README.md index 09e36dc..d52a4c3 100644 --- a/client/libacron/README.md +++ b/client/libacron/README.md @@ -261,6 +261,9 @@ it is the caller's responsibility to guard the whole connection with a mutex. li provide that because this may limit the flexibility. After locking, it is safe to call the connection-related functions from any threads. +Example `acronc/main.c` has a naive cross-platform example of how to guard the connection using +a mutex. + ## Roadmap * Make unit tests -- cgit v1.2.3