is there anyways to handle this issue by making the libpurple a threadsafe ? like any workaround for this issue , i'm trying to develop a gateway to handle so many connections , and it make no sense to use it with single thread since i'm expecting so many connections . Any help would be highly appreciated .