in reply to Re: Re: Re: Re: Re: Starting multi-threading
in thread Starting multi-threading
So if there is some cloning to do to get thread-safe, first try to get it done with CLONE {}, if that fails try with Thread::Exit.
Yet another approach could be to load Win32::OLE inside each thread. You can either require inside the thread, or use (you guessed it): Thread::Use, which allows you to say:
where useit stands for "use inside thread".useit Win32::OLE;
Hope this helps someone looking at making Win32::OLE thread-safe.
Liz
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Re: Re: Starting multi-threading
by BrowserUk (Patriarch) on Aug 24, 2003 at 21:37 UTC |