Lines Matching refs:is
8 poor way to do multithreaded programming. It is much better to formulate
34 when there is exactly one running logical thread per physical thread.
47 The key advantage of tasks versus logical threads is that tasks are much
49 terminating a task is about 18 times faster than starting and
50 terminating a thread. On Windows systems, the ratio is more than 100.
51 This is because a thread has its own copy of a lot of resources, such as
53 id. A task in |full_name|, in contrast, is
58 Tasks in oneTBB are efficient too because *the scheduler is unfair*. Thread schedulers typically
59 distribute time slices in a round-robin fashion. This distribution is
61 Thread schedulers are typically fair because it is the safest strategy
70 number of threads, it is important to distribute work evenly across
84 Finally, the main advantage of using tasks instead of threads is that