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/dijkstra | |
| 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/dijkstra')
| -rw-r--r-- | all_pairs/source/dijkstra/dijkstra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/all_pairs/source/dijkstra/dijkstra.c b/all_pairs/source/dijkstra/dijkstra.c index af86ea6..1b6a52f 100644 --- a/all_pairs/source/dijkstra/dijkstra.c +++ b/all_pairs/source/dijkstra/dijkstra.c | |||
| @@ -193,7 +193,7 @@ void _Pragma( "entrypoint" ) dijkstra_main( void ) | |||
| 193 | int main(int argc, char** argv ) | 193 | int main(int argc, char** argv ) |
| 194 | { | 194 | { |
| 195 | SET_UP | 195 | SET_UP |
| 196 | for(jobsComplete=-1; jobsComplete<maxJobs; jobsComplete++){ | 196 | for(jobsComplete=0; jobsComplete<maxJobs; jobsComplete++){ |
| 197 | START_LOOP | 197 | START_LOOP |
| 198 | dijkstra_init(); | 198 | dijkstra_init(); |
| 199 | dijkstra_main(); | 199 | dijkstra_main(); |
