Added while condition for empty queue when bank open
Added while condition for empty queue when bank open

zweed4u/Real-Time-and-Embedded-Systems,zweed4u/Real-Time-and-Embedded-Systems,zweed4u/Real-Time-and-Embedded-Systems