logo
down
shadow

MULTITHREADING QUESTIONS

Why is there a deadlock in my code even after closing the channel and all workers quitting?
Why is there a deadlock in my code even after closing the channel and all workers quitting?
I hope this helps . Here is my code: , From the docs:
TAG : multithreading
Date : November 23 2020, 04:01 AM , By : Sukant
Running one thread on two cores
Running one thread on two cores
should help you out Not that I know of. A thread can be stopped an started again on a different core but a thread in and by itself can not run parallel.
TAG : multithreading
Date : October 22 2020, 11:12 PM , By : user3849554
suspend/resume task
suspend/resume task
may help you . Generally you want to hold a mutex as long as you need "mutually exclusive" control of whatever it is you're synchronizing on. I would say it's gonna be problematic to keep grabbing,releasing it. Maybe a fuller explanation of what you'
TAG : multithreading
Date : October 22 2020, 11:12 PM , By : Shaadi
Call a TDataModule method in TThread.Execute
Call a TDataModule method in TThread.Execute
With these it helps The easiest way to go is to use TThread.Synchronize to invoke a method in your data module.However, if you do not wish to do that, even when no visual activity is involved, you should determine whether or not you need to add a cri
TAG : multithreading
Date : October 20 2020, 11:12 AM , By : Rasmus Balle
shadow
Privacy Policy - Terms - Contact Us © bighow.org