Thanks Jamie, I'll have to check with the architects to see if they
would have any issues with blocking.  If I can block then I might also
be able to lazily call into the secondary thread to build the tree as
needed.  -Pete
===
James Teh wrote:
> On 25/05/2010 8:37 AM, Pete Brunet wrote:
>   
>> Thanks Jamie, [using WM_GETOBJECT to dynamically enable accessibility] may 
>> be a problem for the case where the app has
>> multiple threads and a secondary thread needs to be called by the window
>> proc to participate in the building of the accessibility tree.  Is it
>> acceptable to block the UI thread?
>>     
> I don't see why this is any different to creating the tree in the same 
> thread. Either way, it will block the UI thread, as the WM_GETOBJECT 
> message needs to return the requested accessible object. Can you shorten 
> the setup time by creating parts of the tree lazily only when requested?
>
> Jamie
>   
_______________________________________________
Accessibility-ia2 mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2

Reply via email to