Learned about wait and notify methods

Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com>