Parallel Programming - Finished pthreads
authorSam Moore <sam@daedalus.(none)>
Sun, 30 Sep 2012 11:54:54 +0000 (19:54 +0800)
committerSam Moore <sam@daedalus.(none)>
Sun, 30 Sep 2012 11:54:54 +0000 (19:54 +0800)
commit20979b1c07eda73b7f86b2fe8cb66eb58d959e04
treea40e5c6b08240a25e1cf3e9f6eb37714e23272a2
parent47b0dba32b8e0e0deedfbfc6db49b65b930e2889
Parallel Programming - Finished pthreads

I finally fixed all the stupid bugs in pthreads.
Committing before messing with the openmp version (which surprisingly compiles)

I basically just need to get rid of the busy loop in the openmp version.
I will probably have to completely change the structure or something. Grrr.
12 files changed:
course/semester2/pprog/assignment1/get_data.py
course/semester2/pprog/assignment1/mthread/barrier.c [new file with mode: 0644]
course/semester2/pprog/assignment1/mthread/barrier.h [new file with mode: 0644]
course/semester2/pprog/assignment1/mthread/nbody.c
course/semester2/pprog/assignment1/mthread/nbody.h
course/semester2/pprog/assignment1/mthread/test_barrier.c [new file with mode: 0644]
course/semester2/pprog/assignment1/openmp/nbody.h
course/semester2/pprog/assignment1/single-thread/graphics.c
course/semester2/pprog/assignment1/single-thread/graphics.h
course/semester2/pprog/assignment1/single-thread/main.c
course/semester2/pprog/assignment1/single-thread/nbody.c
course/semester2/pprog/assignment1/single-thread/nbody.h

UCC git Repository :: git.ucc.asn.au