For Students
Sunday, 11 March 2012
Bounded Buffer
Shared data
#define BUFFER_SIZE 10
typedef
struct
{
. . .
} item
;
item buffer[BUFFER_SIZE];
int
in = 0;
int
out = 0;
int
counter = 0;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment