1 comment

[ 2.7 ms ] story [ 22.7 ms ] thread
> What if we are sending an SMS message in the critical section?

You risk double or multiple send of said SMS.

Use a proper queue system for queue objects.

Even still, there is a small risk of double send.