Loading...
Searching...
No Matches
riot_pipe Struct Reference

A generic pipe. More...

Detailed Description

A generic pipe.

Definition at line 55 of file pipe.h.

#include <pipe.h>

Data Fields

ringbuffer_trb
 Wrapped ringbuffer.
 
thread_tread_blocked
 A thread that wants to write to this full pipe.
 
thread_twrite_blocked
 A thread that wants to read from this empty pipe.
 
void(* free )(void *)
 Function to call by pipe_free().
 

Field Documentation

◆ free

void(* riot_pipe::free) (void *)

Function to call by pipe_free().

Used like pipe->free(pipe).

Definition at line 61 of file pipe.h.

◆ rb

ringbuffer_t* riot_pipe::rb

Wrapped ringbuffer.

Definition at line 56 of file pipe.h.

◆ read_blocked

thread_t* riot_pipe::read_blocked

A thread that wants to write to this full pipe.

Definition at line 57 of file pipe.h.

◆ write_blocked

thread_t* riot_pipe::write_blocked

A thread that wants to read from this empty pipe.

Definition at line 59 of file pipe.h.


The documentation for this struct was generated from the following file: