Found 5 other functions taking a
critical_section
argument:
Enter a critical_section If the spin lock associated with this critical section is in use, then this method will block until it is released.
Release a critical_section
Initialise a critical_section structure assigning a specific spin lock number
Test whether a critical_section has been initialized
Initialise a critical_section structure allowing the system to assign a spin lock number The critical section is initialized ready for use, and will use a (possibly shared) spin lock number assigned by the system. Note that in general it is unlikely that you would be nesting critical sections, however if you do so you *must* use critical_section_init_with_lock_num to ensure that the spin locks used are different.