Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I stop a thread that waits for long periods (e.g., for input)?

input periods thread waits
0
Posted

How do I stop a thread that waits for long periods (e.g., for input)?

0

I am sure that in my program I create 100 new threads and when I use isAlive met I read many times that Thread.stop is deprecated and it is unsafe to use it. But Question: I get an error “Green threads not supported” when tried to use -gree The thread constructor since 1.4.1 allows the thread stack size to be specified.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123