gfphoenix78 commented on code in PR #1225:
URL: https://github.com/apache/cloudberry/pull/1225#discussion_r2244136508
##########
src/bin/gpfdist/gpfdist.c:
##########
@@ -233,6 +233,7 @@ static struct
SSL_CTX *server_ctx;/* for SSL */
#endif
int wdtimer; /* Kill gpfdist after k seconds of
inactivity. 0 to disable. */
+ struct event_base *event_base; /* for libevent 2.0+ */
} gcb;
Review Comment:
Is it reasonable to use the static variable gcb for thread-safe?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]