Feature #5669
closed
Random thread scheduling based on a seed
Added by judofyr (Magnus Holm) over 12 years ago.
Updated over 11 years ago.
Description
Just a little idea that popped into my head:
Would it be possible to have "random" thread scheduling (based on a seed)? E.g. it spends a little more time in different threads than usual?
This would be very useful for discovering subtle threading bugs that's often platform dependent.
- Status changed from Open to Assigned
- Assignee set to ko1 (Koichi Sasada)
Ko1, kosaki, tarui-san, what do you think?
Looks almost impossible to me, though.
--
Yusuke Endoh mame@tsg.ne.jp
I want to reject it.
reasons:
(1) It is difficult to implement it in portable way.
(2) I have a doubt about this idea which can solve threading bugs.
Any other comments?
- Status changed from Assigned to Feedback
- Status changed from Feedback to Rejected
Also available in: Atom
PDF
Like0
Like0Like0Like0Like0