I have used SharedObject functions to do multi-threading so I am familiar with the concepts. My app doesn't have a user interface. The main thread runs in the background listening for processing requests via Winsock.
The first question is about re-use. If a background thread notifies the controller in the main thread that it is done, would it be worthwhile to somehow track it as 'idle' and reuse it for the next request? If I just unregister the thread, there is no tracking to complicate things.
The second question has to do with the library manager. When a background thread instantiates an object locally, the PBD it resides in gets loaded into memory. If the main thread or another background thread later instantiates that same object, does it use the in memory copy or does it have to load the file from disk again?
The last DPB demo app that I have found (thus far) seems to be written in PB 6.0.
Regards ... Chris