From f2a3b3c677bb22c02acb6b5cd0593988210c3516 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Sun, 28 Jun 2015 11:56:41 -0700 Subject: [PATCH] TODO about locking issues --- clients/c/cosmopolite.c | 1 + 1 file changed, 1 insertion(+) diff --git a/clients/c/cosmopolite.c b/clients/c/cosmopolite.c index b866377..7978038 100644 --- a/clients/c/cosmopolite.c +++ b/clients/c/cosmopolite.c @@ -381,6 +381,7 @@ static struct cosmo_command *cosmo_send_rpc(cosmo *instance, struct cosmo_comman return commands; } + // TODO: major locking problems through here if (!json_equal(instance->profile, profile)) { json_decref(instance->profile); json_incref(profile);