in reply to Re: Re: Activestate 5.8.2 broke my threads :(
in thread Activestate 5.8.2 broke my threads :(
andthreads->create(\&create_threads, "param")->detach();
In the first example, detach() is performed on the object returned by threads->create(), which detaches the thread created. Moving detach() on a separate line does not detach the thread at all, calling threads->detach() separately has no effect on the thread you just created.threads->create(\&create_threads, "param"); threads->detach();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Activestate 5.8.2 broke my threads :(
by Anonymous Monk on Dec 23, 2003 at 00:05 UTC |