Embedded Xinu Operating System
An ongoing research project and educational operating system.
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Groups Pages
Macros | Functions
test_boundedbuffer.c File Reference
#include <mutex.h>
#include <mmu.h>
#include <clock.h>

Macros

#define BUFFER_SIZE   10
 

Functions

void test_boundedbuffer (void)
 
void unparkcore (unsigned int, void *)
 
void led_test (void)
 
void udelay (unsigned long)
 
void pld (unsigned int *)
 
void dsb (void)
 

Detailed Description

test_boundedbuffer

A producer-consumer problem test for the mutex for multicore rpi3

This code is straight from Dinosaur Book, essentially... slightly modified