Skip to content

Instantly share code, notes, and snippets.

Avatar

Kellie Lutze lutzenburg

View GitHub Profile
@lutzenburg
lutzenburg / CSSE2310 - Final Exam Question Nine 2015 Attempt.c
Last active Nov 14, 2016
Multithreaded application to add an array of integers.
View CSSE2310 - Final Exam Question Nine 2015 Attempt.c
// Question Nine
#include <stdio.h>
#include <pthread.h>
#include <stdlib.h>
pthread_mutex_t lock;
typedef struct {
int start;
int stop;