title: Java Multi threading two producers and 1 Consumer Issue
body: <p>I need to achieve multiple producer and one consumer problem.
  The restriction is i have two producers and one consumer. The consumer should start processing only when it gets notification from both the producers. until then consumer shouldn't do anything. but each producer work independently and they can keep on producing. Could you please assist me in doing this.
  HSK</p>