#include "pt.h"
#include "cc.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines | |
| #define | PROCESS_BEGIN() |
| Define the beginning of a process. | |
| #define | PROCESS_END() |
| Define the end of a process. | |
| #define | PROCESS_WAIT_EVENT() |
| Wait for an event to be posted to the process. | |
| #define | PROCESS_WAIT_EVENT_UNTIL(c) |
| Wait for an event to be posted to the process, with an extra condition. | |
| #define | PROCESS_YIELD() |
| Yield the currently running process. | |
| #define | PROCESS_YIELD_UNTIL(c) |
| Yield the currently running process until a condition occurs. | |
| #define | PROCESS_WAIT_UNTIL(c) |
| Wait for a condition to occur. | |
| #define | PROCESS_EXIT() |
| Exit the currently running process. | |
| #define | PROCESS_SPAWN(pt, thread) |
| Spawn a protothread from the process. | |
| #define | PROCESS_PAUSE() |
| Yield the process for a short while. | |
| #define | PROCESS_THREAD(name, ev, data) |
| Define the body of a process. | |
| #define | PROCESS_NAME(name) |
| Declare the name of a process. | |
| #define | PROCESS(name, strname) |
| Declare a process. | |
| #define | PROCESS_CURRENT() |
| Get a pointer to the currently running process. | |
Functions | |
| int | process_post (struct process *p, process_event_t ev, process_data_t data) |
| Post an asynchronous event. | |
| int | process_run (void) |
| Process one event from the event queue. | |
1.3.6