title: Where can I use 'GET_LOCK'?
body: <p>Who can share practical examples of the use of the <code>GET_LOCK</code> function?</p>
  
  <p>Example function:</p>
  
  <pre><code>mysql&gt; SELECT GET_LOCK('b',10);
  +------------------+
  | GET_LOCK('b',10) |
  +------------------+
  |                1 |
  +------------------+
  1 row in set (0.00 sec)
  
  
  mysql&gt; SELECT IS_FREE_LOCK('b');
  +-------------------+
  | IS_FREE_LOCK('b') |
  +-------------------+
  |                 0 |
  +-------------------+
  1 row in set (0.00 sec)
  
  mysql&gt; SELECT RELEASE_LOCK('b');
  +-------------------+
  | RELEASE_LOCK('b') |
  +-------------------+
  |                 1 |
  +-------------------+
  1 row in set (0.00 sec)
  
  
  mysql&gt; SELECT IS_FREE_LOCK('b');
  +-------------------+
  | IS_FREE_LOCK('b') |
  +-------------------+
  |                 1 |
  +-------------------+
  1 row in set (0.00 sec)
  </code></pre>
  
  <p>Thank you.</p>