首页 > 其他分享 >list双链表

list双链表

时间:2023-01-06 00:55:28浏览次数:44  
标签:head listnode struct thread int list 双链

struct listnode 
{
  struct listnode *next;
  struct listnode *prev;
  void *data;
};
struct list_head {
	struct list_head *next, *prev;
};
/* Linked list of thread. */
struct thread_list
{
  struct thread *head;
  struct thread *tail;
  int count;
};
/* Master of the theads. */
struct thread_master
{
  struct thread_list read;
  struct thread_list write;
  struct thread_list timer;
  struct thread_list event;
  struct thread_list ready;
  struct thread_list unuse;
 
};
int _tmain(int argc, _TCHAR* argv[])
{


	system("PAUSE");
	return 0;
}

  

标签:head,listnode,struct,thread,int,list,双链
From: https://www.cnblogs.com/hshy/p/17029272.html

相关文章