title: return from inside a @synchronized block in objective-c
body: <p>May somebody tell me if it is ok to return from inside a <code>@synchronized</code> block?</p>
  
  <p>For example:</p>
  
  <pre><code>    - (id)methodThatReturnsSomething:(BOOL)bDoIt
      {
          @synchronized(self) {      
  
               if(!bDoIt) return nil;
               ...
          }
      }
  </code></pre>
  
  <p>or should I unlock the block first (using NSLock instead)?</p>