Am 27.08.2013 21:39, schrieb Uri Cohen:
> I use comtypes.automation to access an IDispatch object in an
> out-of-process server and it seems to me as if the GIL is not unlocked
> during the call. Thus when trying to invoke multiple calls on IDispatch
> objects the calls are synchronized by the GIL and all calls block if one
> of the server's methods blocks.
>
> I tried to figure myself how the GIL is handled by comtypes, but this
> seems to hidden somewhere down the layers in the ctypes implementation.
>
> Does my problem make sense and it is a known issue with the GIL? Or
> should I look harder for some other cause for my calls being synchronized?

I think there should be another source of your problem.
comtypes/ctypes always releases the GIL when calling or executing
C-code.

Thomas



------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
comtypes-users mailing list
comtypes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/comtypes-users

Reply via email to