开发者

Queue of defined type implementation in C

I am trying to find an implementation of a queue to use it to hold processes that are of type GDB. I have been looking all over the place and whatever I use I get an incompatible type when i try to 开发者_如何转开发enqueue the process of type GDB in the queue. Anyone knows an implementation of a queue that I can use or Hash_table ?


Any general-purpose queue worth using (including one you could roll on your own) should allow you to store void *, no questions asked.

So you should only store the address of whatever "process of type GDB" means.


I use this one, serves me fine.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜