update examples

This commit is contained in:
Sergio R. Caprile
2025-06-24 16:26:31 -03:00
parent 074ef5197b
commit f5e2c68c8b
27 changed files with 166 additions and 47 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ static void *thread_function(void *param) {
struct thread_data *p = (struct thread_data *) param;
sleep(2); // Simulate long execution
mg_wakeup(p->mgr, p->conn_id, "hi!", 3); // Respond to parent
free((void *) p->message.buf); // Free all resources that were
mg_free((void *) p->message.buf); // Free all resources that were
free(p); // passed to us
return NULL;
}