# \#inter-process-communication

**URL:** https://verificationacademy.com/forums/tag/inter-process-communication/7475.md

[Latest](https://verificationacademy.com/forums/latest.md) · [Categories](https://verificationacademy.com/forums/categories.md) · [Tags](https://verificationacademy.com/forums/tags.md)

---

## [Does Semaphore PUT with TRY\_GET add more keys to bucket?](https://verificationacademy.com/forums/t/does-semaphore-put-with-try-get-add-more-keys-to-bucket/37958)

<div class="topic-metadata">

**Author:** [@vn\_verif](https://verificationacademy.com/forums/u/vn_verif)\
**Replies:** 1\
**Last updated:** [August 17, 2020, 6:13pm UTC](https://verificationacademy.com/forums/t/does-semaphore-put-with-try-get-add-more-keys-to-bucket/37958 "2020-08-17T18:13:39Z")

</div>

I tried the below sample program to understand semaphores better. At time 45 both process-1 and process-2 get the keys at the same time. Is this because the PUT corresponding to try\_get added a key to the pool even tho…
