Log in

View Full Version : Does avisynth handle it's own created threads' exceptions??


DAlek01
17th September 2010, 16:55
Suppose, I load avs file into a player, and use MT-ed script so that avisynth need to create several new worker threads. Tell me something honestly:
Do you embrace such threads with SEH (__try __except) trap 100 percent safe?? Yes or NO??
It too difficult to catch alien threads' exceptions, one know nothing about, in the host app!

IanB
17th September 2010, 22:36
Last time I looked at the MT hacked versions of Avisynth (SEt, JoshyD, etc) floating around, the normal SEH (__try __except) had been broken and rendered inert. So I expect the answer is No.

The current official version of Avisynth does not create any worker threads yet. When it does I will endeavour to continue to catch, handle and report all internal and 3rd party plugin exceptions.

Also DAlek01 can you please edit the spelling in the Tags you applied to this thread. "exeption" should be "exception" (Just click the "Edit Tags" link to the right).