<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openmano-mpy/examples/natmod/btree, branch master</title>
<subtitle>MicroPython source and hardware configuration for OpenMano</subtitle>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/'/>
<entry>
<title>extmod/modbtree: Retain reference to underlying stream so it's not GC'd.</title>
<updated>2020-05-02T06:08:04+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2020-04-20T13:04:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=73c58150f53d9d828c4fc8fb455cca6831eb8ddd'/>
<id>73c58150f53d9d828c4fc8fb455cca6831eb8ddd</id>
<content type='text'>
For ports that have a system malloc which is not garbage collected (eg
unix, esp32), the stream object for the DB must be retained separately to
prevent it from being reclaimed by the MicroPython GC (because the
berkeley-db library uses malloc to allocate the DB structure which stores
the only reference to the stream).

Although in some cases the user code will explicitly retain a reference to
the underlying stream because it needs to call close() on it, this is not
always the case, eg in cases where the DB is intended to live forever.

Fixes issue #5940.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For ports that have a system malloc which is not garbage collected (eg
unix, esp32), the stream object for the DB must be retained separately to
prevent it from being reclaimed by the MicroPython GC (because the
berkeley-db library uses malloc to allocate the DB structure which stores
the only reference to the stream).

Although in some cases the user code will explicitly retain a reference to
the underlying stream because it needs to call close() on it, this is not
always the case, eg in cases where the DB is intended to live forever.

Fixes issue #5940.
</pre>
</div>
</content>
</entry>
<entry>
<title>py/dynruntime.mk: Set MICROPY_ENABLE_DYNRUNTIME instead of per module.</title>
<updated>2020-04-05T04:13:02+00:00</updated>
<author>
<name>Jim Mussared</name>
</author>
<published>2020-03-04T06:07:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=c34e7b9d4c6f369cd86fd6fcc779932226200cdf'/>
<id>c34e7b9d4c6f369cd86fd6fcc779932226200cdf</id>
<content type='text'>
So this setting could be used by other source files if needed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So this setting could be used by other source files if needed.
</pre>
</div>
</content>
</entry>
<entry>
<title>examples/natmod: Add btree example.</title>
<updated>2019-12-12T09:15:28+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2019-11-05T00:40:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=37817ab4ba5fa84624dc9715e01d6bd5a8d187b0'/>
<id>37817ab4ba5fa84624dc9715e01d6bd5a8d187b0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
