You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@guacamole.apache.org by "necouchman (via GitHub)" <gi...@apache.org> on 2026/10/14 22:38:37 UTC

Re: [PR] GUACAMOLE-2283: Refactor to minimal threading API, move process naming to guacd internals. [guacamole-server]

necouchman commented on code in PR #723:
URL: https://github.com/apache/guacamole-server/pull/723#discussion_r4276765899


##########
src/protocols/kubernetes/user.c:
##########
@@ -61,8 +62,8 @@ int guac_kubernetes_user_join_handler(guac_user* user, int argc, char** argv) {
         kubernetes_client->settings = settings;
 
         /* Start client thread */
-        if (pthread_create(&(kubernetes_client->client_thread), NULL,
-                    guac_kubernetes_client_thread, (void*) client)) {
+        if (guac_thread_create(&kubernetes_client->client_thread,
+                    guac_kubernetes_client_thread, (void*) client, "k8s-client")) {

Review Comment:
   Thoughts on making these titles constants? We have a long-standing Jira issue for improving the use of constants throughout the code, and the previous implementation of setting thread titles used constants.
   
   I don't feel terribly strongly about it, just want to make sure we're consistent about what should be a constant and what we don't think is worth it.



-- 
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: dev-unsubscribe@guacamole.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org