Sunday, April 26, 2009

Multithread plugin architecture

Spending few weeks on a (overly?) complicated c++ plugin architecture, and today i have it working :) and this new plugin architecture is to replaced my old method, which was heavy in dll and light in exe.

My old method let the plugin handle threading and windowing, and this lead to a heavy dll, and it was hard to control under certain situation, such as web application. web browser doesn't provide enough facility for cleaning up resources when destroy command is given, this lead to a nightmare, my web application always crash at exit. with this new architecture, the resources could be free up immediately without synchrounous with external thread. my following work will be implementing a web application utilising this new architecture :)

No comments: