git.ucc.asn.au
/
matches
/
honours.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Parallel Programming - Finished OpenMP
[matches/honours.git]
/
course
/
semester2
/
pprog
/
assignment1
/
mthread
/
nbody.h
diff --git
a/course/semester2/pprog/assignment1/mthread/nbody.h
b/course/semester2/pprog/assignment1/mthread/nbody.h
index
9948e52
..
375c2c9
100644
(file)
--- a/
course/semester2/pprog/assignment1/mthread/nbody.h
+++ b/
course/semester2/pprog/assignment1/mthread/nbody.h
@@
-32,7
+32,7
@@
void * Compute_Thread(void * system); //Thread - Continuously perform computatio
-System * Split_System(System * s, unsigned n); // Splits one system into a number of other systems, returns an array of size n
+
pthread_t * Allocate_Threads(unsigned n); // Allocates space for threads - handles errors
#ifdef PERSISTENT_THREADS
UCC
git Repository :: git.ucc.asn.au