Using libpurple with Java

Ka-Hing Cheung khc at hxbc.us
Thu May 24 01:43:31 EDT 2007


On Wed, 2007-05-23 at 12:43 -0500, Richard Laager 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.
> 

Swing is also not thread-safe, so if you only access libpurple in the
event thread you are safe.

-khc





More information about the Devel mailing list