Project

General

Profile

Actions

Feature #5669

closed

Random thread scheduling based on a seed

Feature #5669: Random thread scheduling based on a seed

Added by judofyr (Magnus Holm) almost 14 years ago. Updated almost 13 years ago.

Status:
Rejected
Target version:
-
[ruby-core:41287]

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.

Updated by mame (Yusuke Endoh) over 13 years ago Actions #1 [ruby-core:43759]

  • 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

Updated by ko1 (Koichi Sasada) over 13 years ago Actions #2 [ruby-core:44206]

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?

Updated by ko1 (Koichi Sasada) over 13 years ago Actions #3 [ruby-core:45857]

  • Status changed from Assigned to Feedback

Updated by ko1 (Koichi Sasada) almost 13 years ago Actions #4 [ruby-core:48562]

  • Status changed from Feedback to Rejected

No feedback.

Actions

Also available in: PDF Atom