How do I stop a thread immediately, in perl?
Should I use the SIG interrupt or someone show me hints.
thanks.
kararu 0 Junior Poster in Training
Recommended Answers
Jump to Postdo you want to stop a perl thread or a thread in an unrelated process?
the exit command should stop a perl thread. die may kill all threads (although it probably shouldn't?) and kill can be used to kill a process by reference.
All 4 Replies
MattEvans 473 Veteran Poster Team Colleague Featured Poster
kararu 0 Junior Poster in Training
MattEvans 473 Veteran Poster Team Colleague Featured Poster
kararu 0 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.