Skip to main content

Timeline for Implement Sleep Sort

Current License: CC BY-SA 3.0

6 events
when toggle format what by license comment
Jan 27, 2017 at 16:31 comment added MrPaulch Why? The longest running thread will keep the process alive.
Jan 27, 2017 at 16:28 comment added Yet Another Geek @MrPaulch Note that you need to join the threads again, if you want your program to have the expected behaviour
Jan 27, 2017 at 12:23 comment added MrPaulch 120 bytes: void m(int[] l){foreach(var i in l){var t=new Thread(()=>{Thread.Sleep(int.Parse(s));Console.Write(s);});t.Start();}}}
Jun 2, 2011 at 20:23 history edited Yet Another Geek CC BY-SA 3.0
updated with degrees of parallelism; edited body; added 1 characters in body; deleted 1 characters in body
Jun 2, 2011 at 20:18 comment added Konrad Rudolph You’ll need to specify WithDegreeOfParallelism for this to work, analogously to the num_threads in my OpenMP C code.
Jun 2, 2011 at 20:02 history answered Yet Another Geek CC BY-SA 3.0