multithreading tag

26 questions


1 answers
103 views
0
Python multi-threaded question

I want each thread to run independently.One thread and two threads work.When 1th thread ends, I want to make 1th thread work again even if 2th thread is still working.In the repeat statement T1=Thread...

1 years ago

1 answers
145 views
0
Why is the wait() method always in the synchronized block?

Object.Everyone knows that the method must be in the synchronized block to generate the wait()method. Otherwise, IllegalMonitorStateException will occur. Why are these restrictions? I know that the wa...


1 answers
95 views
0
Is there a way to kill Thread in Python?

Is there a way to kill the currently working thread without using flags or semaphores?


1 answers
89 views
0
How to Pause or Sleep on Android

I'd like to give you a short delay between the two lines. to explain When the user clicks the button, I want to change the background of the button and show it to the original background in a second.t...


1 answers
91 views
0
Which is better, multi-threading, multiprocessing, or asyncio, for Python parallel http request/response?

Python is programming to execute http requests in parallel.I am planning to request restapi and collect the requested values and upload them to the cloudmultiprocessing,Multi-threading,Asyncio Asynchr...


1 answers
69 views
0
There is data missing when crawling by combining multiprocessing and multi-threading. How can we solve this?

Crawling using multiprocessing, treading, beautiful soup, and requests results in a list index out of range error or none type has not attribute text error.import requestsfrom bs4 import BeautifulSoup...

« - 3 -

© 2024 OneMinuteCode. All rights reserved.