[hlcoders] Multithreaded Plugin CRT

2007-09-05 Thread Gren Meera
-- [ Picked text/plain from multipart/alternative ] Hey everybody, I could REALLY use a hand with this! I needed to make a multi-threaded plugin to handle Port IO for external hardware. The problem is, the MOD always crashes when unloading DLLs when my plugin is loaded. It dies in random

Re: [hlcoders] Multithreaded Plugin CRT

2007-09-05 Thread Jeffrey \botman\ Broome
Gren Meera wrote: -- [ Picked text/plain from multipart/alternative ] Hey everybody, I could REALLY use a hand with this! I needed to make a multi-threaded plugin to handle Port IO for external hardware. The problem is, the MOD always crashes when unloading DLLs when my plugin is loaded. It

Re: [hlcoders] Multithreaded Plugin CRT

2007-09-05 Thread Gren Meera
-- [ Picked text/plain from multipart/alternative ] There doesn't appear to be any main engine API function calls from anywhere but the main thread. The additional threads are worker threads that only create connections and poll the IO. To create a new connection, there's a pending list that is