mruby/c VM Source Code master (2026/08/06)
Loading...
Searching...
No Matches
c_task_queue.h File Reference

Task::Queue for mruby/c. More...

#include "value.h"
Include dependency graph for c_task_queue.h:

Go to the source code of this file.

Enumerations

enum  mrbc_task_queue_push_result { MRBC_TASK_QUEUE_PUSH_OK = 0 , MRBC_TASK_QUEUE_PUSH_OK_WOKE , MRBC_TASK_QUEUE_PUSH_CLOSED , MRBC_TASK_QUEUE_PUSH_INVALID }
 Result of mrbc_task_queue_push(). More...

Detailed Description

Task::Queue for mruby/c.

Copyright (C) 2026-      HASUMI Hitoshi

This file is distributed under BSD 3-Clause License.

Definition in file c_task_queue.h.

Enumeration Type Documentation

◆ mrbc_task_queue_push_result

Result of mrbc_task_queue_push().

Enumerator
MRBC_TASK_QUEUE_PUSH_OK 

pushed. no task was waiting.

MRBC_TASK_QUEUE_PUSH_OK_WOKE 

pushed and a waiting task was woken.

MRBC_TASK_QUEUE_PUSH_CLOSED 

the queue is closed.

MRBC_TASK_QUEUE_PUSH_INVALID 

not a Task::Queue instance.

Definition at line 32 of file c_task_queue.h.