X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=course%2Fsemester2%2Fpprog%2Fassignment1%2Fmthread%2Fnbody.h;h=375c2c94871f5a715149010a932dbbaceaeab01c;hb=bb7fa31ea517a1fba064e723b37d5b8d8bd7dd72;hp=9948e5240900449c4b14a0a08dc7961cd95a3007;hpb=20979b1c07eda73b7f86b2fe8cb66eb58d959e04;p=matches%2Fhonours.git diff --git a/course/semester2/pprog/assignment1/mthread/nbody.h b/course/semester2/pprog/assignment1/mthread/nbody.h index 9948e524..375c2c94 100644 --- 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