[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rtf_put nonblocking?



Hello,

I have a problem concerning the use of rtf_put using it like this:

my_mem=new whatever;
rtf_put (FIFO, my_mem, sizeof(whatever))
delete whatever;

if i leave out the delete line everything works fine, but it is not that
smart to allocate memory in a realtime loop called every 5 ms without
freeing it again...

my question is wether the call of rtf_put is blocking or nonblocking (if
it is nonblocking i can understand why this call can crash, otherways i
am a little confused...


thanks

tobias