source: CIVL/examples/compare/queue/simple.c@ 1fe82ec

1.23 2.0 main test-branch
Last change on this file since 1fe82ec was 57732bb5, checked in by Manchun Zheng <zmanchun@…>, 11 years ago

added two-lock queue and non-blocking queue implementation

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@2448 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 154 bytes
RevLine 
[57732bb5]1#include "queue.h"
2
3void main(){
4 queue_t queue;
5 int buf;
6
7 initialize(&queue);
8 enqueue(&queue, 0);
9 dequeue(&queue, &buf);
10 freequeue(queue);
11}
12
Note: See TracBrowser for help on using the repository browser.