CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Intermediate:
Tied up with threads


New User

Feb 16, 2011, 6:40 AM

Post #1 of 1 (771 views)
Tied up with threads Can't Post

I have a question on threads.

Suppose I want to spawn a thread, and still keep the main thread alive. Now, would my main thread be suspended till the child thread performs a "join", i.e., is join "blocking" the main thread?

Is there a way to continue execution on the main thread while the child thread does its job? Is this the same thing as doing a "detach" on the child thread?


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives