Using libpurple with Java

Tim Ringenbach tim.ringenbach at
Wed May 23 16:29:12 EDT 2007

On 5/23/07, Richard Laager <rlaager at> wrote:
> On Wed, 2007-05-23 at 22:37 +0500, M Khalid wrote:
> > So if i developer that wrapper around it can it be use it as
> > mutlithreaded enviorment ?
> libpurple is not thread safe, so you'd need to do appropriate
> synchronization at the wrapper level. Threading is non-trivial to do
> properly, so I can't give you a simple answer here.

I should prefix this with that fact that I haven't done UI coding in Java.
You could probably also just treat it like you would many UI libraries (like
GTK, at least in C) and only call it from one libpurple thread.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Devel mailing list