Hello, Stefan. You wrote 10.09.2003 @ 16:30 in <mid:[EMAIL PROTECTED]> using mailer The Bat! (v2.00.6)
ST> I tried to make everything clear, but if there are some uncovered ST> issues and concerns, please post them here. ST> We are planning to make some additions to the API soon. Please post ST> your suggestions about which plug-in slot should be implemented ST> next. ,----- [ 3.2. Thread safety ] | Any plug-in function can be called from different threads simultaneously, so all | functions must be aware to multi-threaded model and provide appropriate level of | protection of internal data. If a Plug-in author does not want to support | full-blown multithreading, a simple workaround can be made by using critical | sections (EnterCriticalSection at the start of a function and | LeaveCriticalSection at the end, make sure the critical section is initialised | at the DLL's entry point or in the TBP_Initialize function and the code between | EnterCriticalSection and LeaveCriticalSection is protected from exceptions) `----- The important question: are TBP_Initialize and TBP_Finalize also multithreaded? If so, it will unfortunately hard to initialize a critical sections in TBP_Initialize... -- Sincerely, Alexey. Using TB 2.00.6 on WinXP Pro SP1 (2600), spelling by ORFO2002 (CSAPI) ..with Kaspersky Antivirus Plugin (ver 3.5 Gold) & antispam filter BayesIt! 0.4dm mailto:[EMAIL PROTECTED] ________________________________________________ http://www.silverstones.com/thebat/TBUDLInfo.html

