← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 521683] Re: Thread safety using entity lists from plugins?

 

You're only allowed to call adchpp from inside a callback, so if you
need to do so, use PluginManager::attention

** Changed in: adchpp
       Status: New => Invalid

-- 
Thread safety using entity lists from plugins?
https://bugs.launchpad.net/bugs/521683
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to ADCH++.

Status in ADCH++: Invalid

Bug description:
Question: Does ADCH++ need r/w locks for entity list in clientmanager?
Why?  I'v been experiencing some crashes in python.exe. I suspect these are the result of me using timer threads calling ClientManager.getEntity and similar functions interacting with the entitylist. The only indication i'v been able to get to whats causing the crashes is that one occured when calling entity.getField().

Also if anyone know what to do to get more (any) debug info from the crashes, please let me know.
(Im currently using mingw release builds, since debug builds with mingw causes ICE and msvc debug build didnt work for me)