mruby/c VM Source Code master (2026/08/06)
Loading...
Searching...
No Matches
c_task_queue.h
Go to the documentation of this file.
1
12
13#ifndef MRBC_SRC_TASK_QUEUE_H_
14#define MRBC_SRC_TASK_QUEUE_H_
15
16/***** Feature test switches ************************************************/
17/***** System headers *******************************************************/
18/***** Local headers ********************************************************/
19#include "value.h"
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25/***** Constant values ******************************************************/
26/***** Macros ***************************************************************/
27/***** Typedefs *************************************************************/
28//================================================================
39
40
41/***** Global variables *****************************************************/
42/***** Function prototypes **************************************************/
43//@cond
44void mrbc_init_task_queue(void);
46//@endcond
47
48/***** Inline functions *****************************************************/
49
50#ifdef __cplusplus
51}
52#endif
53#endif // ifndef MRBC_SRC_TASK_QUEUE_H_
struct RObject mrbc_value
Value object. Default version.
mrbc_task_queue_push_result mrbc_task_queue_push(mrbc_value *queue, mrbc_value *value)
void mrbc_init_task_queue(void)
mrbc_task_queue_push_result
Result of mrbc_task_queue_push().
@ MRBC_TASK_QUEUE_PUSH_OK
pushed. no task was waiting.
@ MRBC_TASK_QUEUE_PUSH_CLOSED
the queue is closed.
@ MRBC_TASK_QUEUE_PUSH_OK_WOKE
pushed and a waiting task was woken.
@ MRBC_TASK_QUEUE_PUSH_INVALID
not a Task::Queue instance.
mruby/c value definitions