On 2005/03/30, Hans-Joerg Frieden wrote:
Try to open it in the library's Open vector instead of the init code. The init code is executed on a separate thread within ramlib (under OS 4 at least). The open code is executed in the caller's context, so this is the better place to open it.
I moved the open device into my librarys Manager_Open function and that worked nicely.
I have been thinking about the sharing msgport and signal that is used in the open device and I dont really think its a good idea to share.. but where do I store the allocated stuff ?
Can I clone the libray base and return a clone to the user every time open lib is called?
Regards Rene W. Olsen