Re: Accessibility API, thread safe?
Re: Accessibility API, thread safe?
- Subject: Re: Accessibility API, thread safe?
- From: James Dempsey <email@hidden>
- Date: Tue, 01 Jan 2013 12:42:36 -0500
If you are getting AX information from multiple apps, something like a serial queue or single thread per queried app might work well.
If making AX calls to a single app, those requests are handled serially, so making the requests concurrently will not have a benefit.
James
----------------
James Dempsey
email@hidden
Sent from my iPhone
On Dec 31, 2012, at 4:19 PM, Dave Poirier <email@hidden> wrote:
> Can anybody please confirm if it is safe to make multiple concurrent AX calls?
>
> i.e.: calling AXUIElementCopyAttributeValue() from a concurrent queue?
>
> FYI, I downloaded both the "Accessibility Programming Guidelines for Mac" and "NSAccessibility Protocol" PDF documents, both of which contains no mention of the word "thread".
>
> Thank you,
>
> Dave Poirier
> Senior Software Developer
> email: email@hidden
> cell: 18192097798
> skype: ekscrypto
>
> All I need is a towel, everything else can be answered by 42.
>
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Accessibility-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden