Lines Matching refs:concurrency
38 …t_queue_attr_t* attr, const int max_concurrency) | Sets the maximum concurrency for a queue, wh…
39 …get_max_concurrency(ffrt_queue_attr_t* attr) | Obtains the maximum concurrency of a queue, whi…
126 … because doing this will establish unnecessary dependencies and affect concurrency. Instead, use t…
587 …ddress because inappropriate values will establish unnecessary dependencies and affect concurrency.
1064 FFRT supports concurrent queues and allows you to set the concurrency and task priority of a concur…
1068 Sets the maximum concurrency for a queue, which must be a concurrent queue.
1083 Maximum concurrency. If the parameter is set to a value less than or equal to 0, the concurrency 1 …
1091 If the concurrency is set to a large value, for example, 100, the actual concurrency may fail to re…
1101 uint64_t concurrency = 4;
1102 ffrt_queue_attr_set_max_concurrency(&queue_attr, concurrency);
1103 concurrency = ffrt_queue_attr_get_max_concurrency(&queue_attr);
1105 printf("concurrency=%lu\n", concurrency);
1113 concurrency=4
1118 Obtains the maximum concurrency of a queue, which must be a concurrent queue.
1133 Maximum concurrency.
1146 uint64_t concurrency = 4;
1147 ffrt_queue_attr_set_max_concurrency(&queue_attr, concurrency);
1148 concurrency = ffrt_queue_attr_get_max_concurrency(&queue_attr);
1150 printf("concurrency=%lu\n", concurrency);
1158 concurrency=4