#include <futex.h>
#include "keybuffer.h"
Go to the source code of this file.
Functions | |
size_t | keybuffer_available (keybuffer_t *keybuffer) |
Get free space in buffer. | |
bool | keybuffer_empty (keybuffer_t *keybuffer) |
void | keybuffer_free (keybuffer_t *keybuffer) |
Clear key buffer. | |
void | keybuffer_init (keybuffer_t *keybuffer) |
Key buffer initialization. | |
bool | keybuffer_pop (keybuffer_t *keybuffer, console_event_t *edst) |
Pop event from buffer. | |
void | keybuffer_push (keybuffer_t *keybuffer, const console_event_t *ev) |
Push key event to key buffer. | |
Variables | |
atomic_t | keybuffer_futex = FUTEX_INITIALIZER |
Definition in file keybuffer.c.