|
Serene Runtime 1.0.0
C runtime for the Serene programming language
|
#include <stdio.h>#include "serene/rt/context.h"#include "serene/rt/engine.h"#include "serene/rt/fiber.h"#include "serene/rt/mm/interface.h"Go to the source code of this file.
Data Structures | |
| struct | mailbox_t |
Functions | |
| static bool | park_on_empty (srn_fiber_t *self, void *arg) |
| static srn_fiber_result_t | consumer (srn_context_t *ctx, void *arg) |
| static srn_fiber_result_t | producer (srn_context_t *ctx, void *arg) |
| int | main (void) |
Variables | |
| static int | ok |
| static mailbox_t | mailbox |
|
static |
Definition at line 67 of file 04_suspend_resume.c.
| int main | ( | void | ) |
Definition at line 91 of file 04_suspend_resume.c.
|
static |
Definition at line 58 of file 04_suspend_resume.c.
|
static |
Definition at line 76 of file 04_suspend_resume.c.
|
static |
Definition at line 53 of file 04_suspend_resume.c.
|
static |
Definition at line 44 of file 04_suspend_resume.c.