36 #include <Inventor/C/basic.h> 37 #include <Inventor/C/threads/common.h> 45 COIN_DLL_API cc_fifo * cc_fifo_new(
void);
46 COIN_DLL_API
void cc_fifo_delete(cc_fifo * fifo);
48 COIN_DLL_API
void cc_fifo_assign(cc_fifo * fifo,
void * ptr, uint32_t type);
49 COIN_DLL_API
void cc_fifo_retrieve(cc_fifo * fifo,
void ** ptr, uint32_t * type);
50 COIN_DLL_API SbBool cc_fifo_try_retrieve(cc_fifo * fifo,
void ** ptr, uint32_t * type);
52 COIN_DLL_API
unsigned int cc_fifo_size(cc_fifo * fifo);
54 COIN_DLL_API
void cc_fifo_lock(cc_fifo * fifo);
55 COIN_DLL_API
void cc_fifo_unlock(cc_fifo * fifo);
57 COIN_DLL_API SbBool cc_fifo_peek(cc_fifo * fifo,
void ** item, uint32_t * type);
58 COIN_DLL_API SbBool cc_fifo_contains(cc_fifo * fifo,
void * item);
59 COIN_DLL_API SbBool cc_fifo_reclaim(cc_fifo * fifo,
void * item);