title: What happens when Binary Semaphore is Signalled twice? ie. s=1;wait(s); signal(s)signal(s); Does s becomes 0 or it remains 1?
body: <p>What happens when Binary Semaphore is Signalled twice? 
  i.e. Suppose s is binary semaphore variable with <code>s=1</code></p>
  
  <p>Now we do following--</p>
  
  <pre><code>wait(s),signal(s),signal(s)
  </code></pre>
  
  <p>Does s becomes 0 or it remains 1?</p>