On Saturday 12 January 2002 10:13 am, Andrew Friedley wrote:
> I found the problem after stepping through the icqSendMessage code.  It was
> hanging on the write mode checkout of the user - because i happened to have
> the same user already checked out in read mode.  Shouldn't i be able to
> have the same user checked out with read mode and write mode at the same
> time?

As far as I can tell, no.  You should lock a user only when you need it, and 
unlock it immediately after what you needed it for.  More than one plugin can 
be loaded at once, so if you lock all the users, then other plugins (and 
yours too) have to wait for you to unlock to lock them again.

Jon

_______________________________________________
Licq-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-devel

Reply via email to