| ??? 08/27/03 20:46 Read: times |
#53543 - circular queue module |
I've starting working on adding a logging system to our company's product. The basics are that it will be stored in EEPROM and will be maintained as a circular queue. I've got a bare bones system working, but the code seems awkward and I feel like I'm reinventing the wheel. I've looked around on the web a little and I didn't spot a 'C' source library with what I'm looking for. I also searched a bit on the 8052.com site (message board and code libary) and didn't find it either (a number of references but I didn't see a true "library" reference).
As I cobbled up my current implementation I noticed there are really a large variety of ways to break down this problem. In the end (whether homegrown or copied/leveraged from a library) I need features like: -basic list maintenance (add, delete, modify entries) -other utilities (clear list, queue empty/full indicators) -robustness against power-cycles & data corruption ->e.g. duplicate and/or checksum protected header ->e.g. careful order of operations when updating header while adding/deleting entries -support for working on a limited portion of the list at time ->e.g. display "next" 5 items which match a pattern Does anyone out there have such a "tool" in their toolbox they would be willing to share or a recommendation of such a library they've seen? Thanks in advance. Jeff |
| Topic | Author | Date |
| circular queue module | 01/01/70 00:00 | |
| RE: circular queue module | 01/01/70 00:00 | |
| RE: circular queue module | 01/01/70 00:00 | |
| RE: circular queue module | 01/01/70 00:00 | |
| RE: circular queue module | 01/01/70 00:00 | |
| RE: circular queue (logging module) | 01/01/70 00:00 | |
| RE: circular queue (logging module) | 01/01/70 00:00 | |
| RE: clarification | 01/01/70 00:00 | |
| RE: circular queue (logging module) | 01/01/70 00:00 | |
| RE: circular queue (logging module) | 01/01/70 00:00 | |
RE: circular queue (logging module) | 01/01/70 00:00 | |
| RE: circular queue module | 01/01/70 00:00 | |
| RE: circular queue module | 01/01/70 00:00 |



