Skype Plugin
Eion Robb
eion at bigfoot.com
Wed Sep 26 18:54:59 EDT 2007
Interesting. That might have made things a little easier to know that one.
Just as a shortcut to me trawling through glib docs, whats the easiest way
to call a function using another, already existing thread? ie, what do
other plugins do to call functions on the main thread?
--Eion
On Thu, 27 Sep 2007 10:12:21 +1200, Evan Schoenberg <evan.s at dreskin.net>
wrote:
>
> On Sep 26, 2007, at 6:04 PM, Evan Schoenberg wrote:
>
>> Pidgin does not except libpurple to operate on a
>> thread different from that which it itself does.
>
> That, of course, should have read "does not expect."
>
> In answer to the question which I don't think has quite been asked: A
> libpurple plugin must always call libpurple core functions on the
> thread in which the plugin was initialized (this is most commonly the
> 'main thread' or 'UI thread'). It can use other threads internally.
>
> -Evan
More information about the Devel
mailing list