Skip to content

Commit 27f7e58

Browse files
Emmanuel MassaquoiEmmanuel Massaquoi
authored andcommitted
Merge branch 'master' of github.com:Maxxquoi/Introduction-to-Operating-Systems
2 parents a1c4173 + 05bbdb8 commit 27f7e58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PThreadExamples/producer-consumer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ void *consumer (void *param);
1919
int main(int argc, char *argv[]) {
2020

2121
pthread_t tid1, tid2; /* thread identifiers */
22-
int i;
22+
//int i;
2323

2424
/* create the threads; may be any number, in general */
2525
if(pthread_create(&tid1, NULL, producer, NULL) != 0) {

0 commit comments

Comments
 (0)