summaryrefslogblamecommitdiffstats
path: root/spec/rtems/intr/if/lock-destroy.yml
blob: 90282e9e9683d6caf7d534b37d3ca8a40516f5a9 (plain) (tree)
1
2
3
4
5
6
7
8
                                                     

                        
           
                                                                         

                                                                          
                                                                      


                 
                 




                           
            



                                       
                                  






                                                                               
       


                               
             
            
               
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
  Destroys the ISR lock.
copyrights:
- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR)
definition:
  default: ${/score/isr/if/lock-destroy:/name}( ${.:/params[0]/name} )
  variants: []
description: null
enabled-by: true
index-entries: []
interface-type: macro
links:
- role: interface-placement
  uid: header
- role: interface-ingroup
  uid: group
- role: constraint
  uid: /constraint/directive-ctx-any
- role: constraint
  uid: /constraint/directive-no-preempt
name: rtems_interrupt_lock_destroy
notes: |
  The lock must have been dynamically initialized by ${lock-initialize:/name},
  statically defined by ${lock-define:/name}, or statically initialized by
  ${lock-initializer:/name}.

  Concurrent lock use during the destruction or concurrent destruction leads to
  unpredictable results.
params:
- description: |
    is the ISR lock to destroy.
  dir: inout
  name: _lock
return: null
type: interface