View Single Post
Old 20th October 2007, 02:39   #643  |  Link
MfA
Registered User
 
Join Date: Mar 2002
Posts: 1,075
Quote:
Originally Posted by foxyshadis View Post
MFA, shared memory sections = race conditions
Everything is shared memory with multithreading ...
Quote:
Everything has to be made threadsafe at either the plugin or the scripthost level anyway.
You could get away with adding a single global lock to make the scripthost thread safe (since there could only be internal threading inside a single instance of a filter for a given scripthost you could fundamentally not cause deadlock that way AFAICS).

Since the plugins would never run as threads themselves they would obviously not need to be thread safe.
MfA is offline   Reply With Quote