Native data structure for FIFO

Native data structure for FIFO

BY 10 Feb 2017 Native Application Development

Hello,

I want to have a data structure which will be accessible across the project and will work as FIFO.

I tried array EINA_ARRAY but it is not FIFO. 

dlog_print(DLOG_ERROR, LOG_TAG, “array count: %d\n”,
            eina_array_count(outPutFileNameArray));
    char *filename = (char*) eina_array_pop(outPutFileNameArray);

 

But this pop will give me last element. I want the 0th element. Is there any idea to modify array behaviour to give me required functionality?

 

Regards,

Shraddha

Written by