Lines Matching refs:queue

1 # queue.h
6 The **queue.h** file declares the queue interfaces in C.
20 | typedef void\* [ffrt_queue_t](_f_f_r_t.md) | Defines the handle to a queue. |
27 …rt_queue_concurrent](_f_f_r_t.md), [ffrt_queue_max](_f_f_r_t.md) } | Enumerates the queue types. |
34 …ttr_init) ([ffrt_queue_attr_t](ffrt__queue__attr__t.md)\* attr) | Initializes a queue attribute. |
35 …ttr_destroy) ([ffrt_queue_attr_t](ffrt__queue__attr__t.md)\* attr) | Destroys a queue attribute. |
36 …tr_t](ffrt__queue__attr__t.md)\* attr, [ffrt_qos_t](_f_f_r_t.md#types) qos)| Sets the queue QoS. |
37 …ttr_get_qos) (const [ffrt_queue_attr_t](ffrt__queue__attr__t.md)\* attr)| Obtains the queue QoS. |
38 …rt_queue_attr_t](ffrt__queue__attr__t.md)\* attr, uint64_t timeout_us) | Sets the queue timeout. |
39 …imeout) (const [ffrt_queue_attr_t](ffrt__queue__attr__t.md)\* attr) | Obtains the queue timeout. |
40 …frt__function__header__t.md)\* f) | Sets a callback that is invoked when a queue task times out. |
41 …__queue__attr__t.md)\* attr) | Obtains the callback that is invoked when a queue task times out. |
42 …nt max_concurrency) | Sets the maximum concurrency for a queue, which must be a concurrent queue. …
43 …tr__t.md)\* attr) | Obtains the maximum concurrency of a queue, which must be a concurrent queue. …
44 …const char\* name, const [ffrt_queue_attr_t](ffrt__queue__attr__t.md)\* attr) | Creates a queue. |
45 …destroy](_f_f_r_t.md#ffrt_queue_destroy) ([ffrt_queue_t](_f_f_r_t.md) queue) | Destroys a queue. |
46queue, [ffrt_function_header_t](ffrt__function__header__t.md)\* f, const [ffrt_task_attr_t](ffrt_…
47queue, [ffrt_function_header_t](ffrt__function__header__t.md)\* f, const [ffrt_task_attr_t](ffrt_…
48 …_wait) ([ffrt_task_handle_t](_f_f_r_t.md) handle) | Waits until a task in the queue is complete. |
49 ….md#ffrt_queue_cancel) ([ffrt_task_handle_t](_f_f_r_t.md) handle) | Cancels a task in the queue. |
50 …_t.md)[ffrt_get_main_queue](_f_f_r_t.md#ffrt_get_main_queue) () | Obtains the main thread queue. |
51 …t_current_queue](_f_f_r_t.md#ffrt_get_current_queue) () | Obtains the ArkTS Worker thread queue. |