Project

General

Profile

Actions

Feature #5669

closed

Random thread scheduling based on a seed

Added by judofyr (Magnus Holm) over 12 years ago. Updated over 11 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) about 12 years ago

  • 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) about 12 years ago

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) almost 12 years ago

  • Status changed from Assigned to Feedback

Updated by ko1 (Koichi Sasada) over 11 years ago

  • Status changed from Feedback to Rejected

No feedback.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0