in reply to Re: Re: Create a separate process with a sub...
in thread Create a separate process with a sub...
Neat! It would be nice if it added an is_finished() (or better named?) method to the threads package, but having an effective method of doing it is great.
One comment on the name. I would probably never have considered using this without being recommended to it as I would have assumed (from the name) that it was designed for use with the old Thread package.
I realise that using a "threads::" prefix is taboo as all lowercase names are reserved for pragmas, but maybe a "Threads" top level namespace is called for to distinguish between pThreads and iThreads stuff?
Probably too late for that now. I'll just have to learn to look inside rather than making assumptions:)
Now if only there was a portable way of making the Suspend/Resume/SetPriority/ thread (Win32 native) APIs available via threads objects. Most of this has analogous beaviour on other OS's, (priority ~= nice etc.), but it's probably a stretch to try and unify the api?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Create a separate process with a sub...
by liz (Monsignor) on Aug 15, 2003 at 12:43 UTC | |
by BrowserUk (Patriarch) on Aug 15, 2003 at 13:36 UTC |