diff options
author | Joshua Bakita <jbakita@cs.unc.edu> | 2020-10-17 15:17:24 -0400 |
---|---|---|
committer | Joshua Bakita <jbakita@cs.unc.edu> | 2020-10-17 15:17:24 -0400 |
commit | 97c1685def13be3724a6d025f4e12f236777a911 (patch) | |
tree | c1e86cd3ed0f4cbe7fb04987ec8e2e89f9a61bee /all_pairs/source/ammunition/ammunition.c | |
parent | cef282a003b65df452a51f12773799f83c3cd627 (diff) |
Cleanup `extra.h` for pairs and add option to use that in DIS build
Also remove some unused code from the cleanupSemaphores utility
Diffstat (limited to 'all_pairs/source/ammunition/ammunition.c')
-rw-r--r-- | all_pairs/source/ammunition/ammunition.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/all_pairs/source/ammunition/ammunition.c b/all_pairs/source/ammunition/ammunition.c index 224babd..269f4c0 100644 --- a/all_pairs/source/ammunition/ammunition.c +++ b/all_pairs/source/ammunition/ammunition.c | |||
@@ -1174,7 +1174,7 @@ void _Pragma( "entrypoint" ) ammunition_main( void ) | |||
1174 | int main( int argc, char **argv ) | 1174 | int main( int argc, char **argv ) |
1175 | { | 1175 | { |
1176 | SET_UP | 1176 | SET_UP |
1177 | for (jobsComplete=-1; jobsComplete<maxJobs; jobsComplete++){ | 1177 | for (jobsComplete=0; jobsComplete<maxJobs; jobsComplete++){ |
1178 | START_LOOP | 1178 | START_LOOP |
1179 | ammunition_init(); | 1179 | ammunition_init(); |
1180 | ammunition_main(); | 1180 | ammunition_main(); |