News for hackers. Stuff that matters.
Re:Composable multi-threaded parallelism in Julia by DNF2 on Wednesday July 24, 2019 @03:37AM (#20513058)
What would be the purpose of yielding control from the thread and tell it to wait, rather than just let it run to completion?
Re:Composable multi-threaded parallelism in Julia by ska on Wednesday July 24, 2019 @01:44PM (#20517643)
Sometimes you don't know where you want to spend your CPU budget until you have more information.
Re:Composable multi-threaded parallelism in Julia by DNF2 on Wednesday July 24, 2019 @02:02PM (#20517864)
Maybe I misunderstand you, but telling the thread to halt is surely a waste of those resources?
Re:Composable multi-threaded parallelism in Julia by opportune on Wednesday July 24, 2019 @04:22PM (#20519250)
Because sometimes you need to sync the entire program state, or some subset of the state, to make measurements or to let disparate parts of the system interact