what do people think about doing one task per thread versus running all tasks of one category in one thread?
and what kind of tasks do you do? multiple in parallel, long running horizontal, repetitive etc
大家怎么看一个线程只做一个任务,与在一个线程里跑完某一类别的所有任务这两种做法? 你们平时做的是哪种任务?多个并行、长时间横向运行、重复性的,等等。
大家怎么看一个线程只做一个任务,与在一个线程里跑完某一类别的所有任务这两种做法? 你们平时做的是哪种任务?多个并行、长时间横向运行、重复性的,等等。
what do people think about doing one task per thread versus running all tasks of one category in one thread?
and what kind of tasks do you do? multiple in parallel, long running horizontal, repetitive etc
来源:gabriel· x.com