Skip to content

Instantly share code, notes, and snippets.

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