Skip to content

1514louluo/swapping_queue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a swapping-queue, implement by double-ring-linklist, be careful that this version only use it in one producer and one comsumer model!

How to use?
	You can use it as your src file, certainly you can compile it to a lib then include and call it.
	when you compile it, you must contain "-lpthread -lrt"

How to run the test?
	Simply use the cmd:
		gcc swap_queue.c test.c -lpthread -lrt -o test
	then use the cmd:
		./test

License: MIT
	have fun!

Author: louluo<[email protected]>

About

A swapping queue implement

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages