21 #ifndef INCLUDED_GR_FOSPHOR_FIFO_H
22 #define INCLUDED_GR_FOSPHOR_FIFO_H
26 #include <gnuradio/gr_complex.h>
27 #include <gnuradio/thread/thread.h>
40 thread::mutex d_mutex;
41 thread::condition_variable d_cond_empty;
42 thread::condition_variable d_cond_full;
52 gr_complex *write_prepare(
int size,
bool wait=
true);
53 void write_commit(
int size);
56 gr_complex *read_peek(
int size,
bool wait=
true);
57 void read_discard(
int size);