Trac is being migrated to new services! Issues can be found in our new YouTrack instance and WIKI pages can be found on our website.

Changes between Version 16 and Version 17 of WhatIsLibpurple


Ignore:
Timestamp:
Aug 9, 2009, 10:56:54 PM (14 years ago)
Author:
Robby
Comment:

adium.im

Legend:

Unmodified
Added
Removed
Modified
  • WhatIsLibpurple

    v16 v17  
    44
    55= Who uses libpurple? =
    6  * [http://www.adiumx.com/ Adium] - A user-friendly graphical IM program for OS X.
     6 * [http://www.adium.im/ Adium] - A user-friendly graphical IM program for OS X.
    77 * [http://www.apolloapp.com/ Apollo IM] - IM application for the iPhone and iPod Touch.
    88 * [http://www.eqo.com/ EQO] - An IM program for mobile phones.
     
    2828= Is it threaded? =
    2929
    30 libpurple is ''not'' threadsafe.  It should be accessed by an implementing UI only one thread ''ever'' (that is, do not attempt to use synchronization or locks to access it from multiple threads).  Plugins can use multiple threads, but they must always call libpurple functions and callbacks on the thread on which they were initialized (typically the main thread of the program).
     30libpurple is ''not'' threadsafe. It should be accessed by an implementing UI only one thread ''ever'' (that is, do not attempt to use synchronization or locks to access it from multiple threads). Plugins can use multiple threads, but they must always call libpurple functions and callbacks on the thread on which they were initialized (typically the main thread of the program).
    3131
    32 libpurple's run loop access occurs through eventloop.c; the UI must implement the UI Ops defined there and register them in order to watch sockets for new data and call timeout functions after a specified delay.  For example, Pidgin uses the glib run loop, and Adium uses the Cocoa event run loop.
     32libpurple's run loop access occurs through eventloop.c; the UI must implement the UI Ops defined there and register them in order to watch sockets for new data and call timeout functions after a specified delay. For example, Pidgin uses the glib run loop, and Adium uses the Cocoa event run loop.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!