kopia lustrzana https://github.com/micropython/micropython
86bfabec11
This commit adds micropython.heap_locked() which returns the current lock-depth of the heap, and can be used by Python code to check if the heap is locked or not. This new function is configured via MICROPY_PY_MICROPYTHON_HEAP_LOCKED and is disabled by default. This commit also changes the return value of micropython.heap_unlock() so it returns the current lock-depth as well. |
||
---|---|---|
.. | ||
_thread.rst | ||
btree.rst | ||
builtins.rst | ||
cmath.rst | ||
esp.rst | ||
esp32.rst | ||
framebuf.rst | ||
gc.rst | ||
index.rst | ||
lcd160cr.rst | ||
machine.ADC.rst | ||
machine.ADCWiPy.rst | ||
machine.I2C.rst | ||
machine.Pin.rst | ||
machine.RTC.rst | ||
machine.SD.rst | ||
machine.SDCard.rst | ||
machine.SPI.rst | ||
machine.Signal.rst | ||
machine.Timer.rst | ||
machine.TimerWiPy.rst | ||
machine.UART.rst | ||
machine.WDT.rst | ||
machine.rst | ||
math.rst | ||
micropython.rst | ||
network.CC3K.rst | ||
network.WIZNET5K.rst | ||
network.WLAN.rst | ||
network.WLANWiPy.rst | ||
network.rst | ||
pyb.ADC.rst | ||
pyb.Accel.rst | ||
pyb.CAN.rst | ||
pyb.DAC.rst | ||
pyb.ExtInt.rst | ||
pyb.Flash.rst | ||
pyb.I2C.rst | ||
pyb.LCD.rst | ||
pyb.LED.rst | ||
pyb.Pin.rst | ||
pyb.RTC.rst | ||
pyb.SPI.rst | ||
pyb.Servo.rst | ||
pyb.Switch.rst | ||
pyb.Timer.rst | ||
pyb.UART.rst | ||
pyb.USB_HID.rst | ||
pyb.USB_VCP.rst | ||
pyb.rst | ||
sys.rst | ||
uarray.rst | ||
ubinascii.rst | ||
ubluetooth.rst | ||
ucollections.rst | ||
ucryptolib.rst | ||
uctypes.rst | ||
uerrno.rst | ||
uhashlib.rst | ||
uheapq.rst | ||
uio.rst | ||
ujson.rst | ||
uos.rst | ||
ure.rst | ||
uselect.rst | ||
usocket.rst | ||
ussl.rst | ||
ustruct.rst | ||
utime.rst | ||
uzlib.rst | ||
wipy.rst |