On Oct 12, 2011, at 08:18, Christiaan Hofman wrote:

> On Oct 12, 2011, at 16:50, Adam R. Maxwell wrote:
> 
>> On Oct 12, 2011, at 07:17 , Christiaan Hofman wrote:
>> 
>>> Does WoS run well synchronously?
>> 
>> All of the SOAP calls are synchronous; they use the "WSGeneratedObj-sync" 
>> runloop mode to block until results are available.  As to whether it runs 
>> well...I guess that depends :).
>> 
> 
> Not what I meant. I mean synchronous as in synchronous with the app, i.e. on 
> the main thread. The ISI search group runs the SOAP calls from a secondary 
> thread.

I'm not sure what you mean, then.  The thread it runs on doesn't matter, though 
it runs on a secondary thread precisely because the search will block the 
calling thread (main or otherwise).  This should be consistent with the PubMed 
usage in BibItem_PubMedLookup.

If I were designing the search groups today, I'd take a significantly different 
approach to the async problem, but that's not terribly relevant.  I did this in 
my testing version of BD for BDSKPreviewer, eliminating all the crazy DO and 
locking.

-- 
Adam


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users

Reply via email to