From d2f4d07585d1e915365f3aaea6fc696e00a9e26d Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 11 Aug 2024 15:04:22 -0400 Subject: Support channels with maximum size --- builtins/datatypes.h | 1 + 1 file changed, 1 insertion(+) (limited to 'builtins/datatypes.h') diff --git a/builtins/datatypes.h b/builtins/datatypes.h index 41a67a5e..a9f28dc1 100644 --- a/builtins/datatypes.h +++ b/builtins/datatypes.h @@ -62,6 +62,7 @@ typedef struct { array_t items; pthread_mutex_t mutex; pthread_cond_t cond; + int64_t max_size; } channel_t; // vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 -- cgit v1.2.3