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;
}