i need to find an existing high performance thread safe list implementation in C. I started my research some hours ago and hope you guys have some recommendations whether to use a specific list or tipps on how to search for a good one. I will list some criteria i figured out. Most likely i will forget some crucial information, please let me know and i will deliver them.
- Each element of the list stores the same Array type
- Write/create/delete/read ratio is 100/5/5/1
- Many nodes share the list. To prevent race conditions the list has to be thread safe or i manually protect it with a lock.
- Elements will be deleted all across the list
While searching i hardly found C Lists but a lot of Jave Lists. Do you think its Possible and advisable to port Java Lists to C?