diff options
author | Joshua Bakita <bakitajoshua@gmail.com> | 2019-10-07 19:13:39 -0400 |
---|---|---|
committer | Joshua Bakita <bakitajoshua@gmail.com> | 2019-10-07 19:13:39 -0400 |
commit | 386b7d3366f1359a265da207a9cafa3edf553b64 (patch) | |
tree | c76120c2c138faed822e4ae386be6ef22a738a78 /all_pairs/source/cleanupSemaphores.c | |
parent | 54a3f7091a2146b29c73a6fdc4b62a5c4ad7a3d8 (diff) |
Reorganize and commit all the modified TACLeBench code and run scripts
Diffstat (limited to 'all_pairs/source/cleanupSemaphores.c')
-rw-r--r-- | all_pairs/source/cleanupSemaphores.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/all_pairs/source/cleanupSemaphores.c b/all_pairs/source/cleanupSemaphores.c new file mode 100644 index 0000000..71ff989 --- /dev/null +++ b/all_pairs/source/cleanupSemaphores.c | |||
@@ -0,0 +1,10 @@ | |||
1 | #include <semaphore.h> | ||
2 | |||
3 | int main(){ | ||
4 | sem_unlink("/firstTacleSem"); | ||
5 | sem_unlink("/secondTacleSem"); | ||
6 | sem_unlink("/thirdTacleSem"); | ||
7 | sem_unlink("/fourthTacleSem"); | ||
8 | //no longer in use; delete last line after running once | ||
9 | //sem_unlink("/cacheTacleSem"); | ||
10 | } | ||