<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/supervisor, branch 6.0.0-alpha.2</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.0.0-alpha.2</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.0.0-alpha.2'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2020-07-22T23:26:46+00:00</updated>
<entry>
<title>Add externs. GCC10 complains about duplicate defines</title>
<updated>2020-07-22T23:26:46+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2020-07-21T23:26:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2bd6d056638f05185eb497ca2d039ebe9f386327'/>
<id>urn:sha1:2bd6d056638f05185eb497ca2d039ebe9f386327</id>
<content type='text'>
</content>
</entry>
<entry>
<title>supervisor: rename some locals for clarity</title>
<updated>2020-07-20T13:45:31+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-07-20T13:45:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9fd10322fedc4a7736118fdb6cb1480ad8da94f1'/>
<id>urn:sha1:9fd10322fedc4a7736118fdb6cb1480ad8da94f1</id>
<content type='text'>
It's perfectly OK for these variables with static linkage to have the
same name, but it's inconvenient for humans like me.
</content>
</entry>
<entry>
<title>background callbacks: Clear any callbacks that were queued</title>
<updated>2020-07-20T13:44:39+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-07-20T13:44:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=db43c56f794508689b07d931c16cadd3e98aad87'/>
<id>urn:sha1:db43c56f794508689b07d931c16cadd3e98aad87</id>
<content type='text'>
Before this, a background callback that was on the list when
background_callback_reset was called could have ended up in a state
that made it "un-queueable": its "prev" pointer could have been non-NULL.
</content>
</entry>
<entry>
<title>background_callback_gc_collect: We must traverse the whole list</title>
<updated>2020-07-17T19:55:46+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-07-17T19:55:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=98eef79faaa36adbdd0b074c712aad5df7ef37a0'/>
<id>urn:sha1:98eef79faaa36adbdd0b074c712aad5df7ef37a0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>background_callback: Add gc collect callback</title>
<updated>2020-07-17T13:36:26+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-07-17T13:36:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a18a39210919a886d4efb4c52b85a309b3403abf'/>
<id>urn:sha1:a18a39210919a886d4efb4c52b85a309b3403abf</id>
<content type='text'>
A background callback must never outlive its related object.  By
collecting the head of the linked list of background tasks, this will
not happen.

One hypothetical case where this could happen is if an MP3Decoder is
deleted while its callback to fill its buffer is scheduled.
</content>
</entry>
<entry>
<title>supervisor: usb: note that it's unusual to need to call usb_background</title>
<updated>2020-07-15T16:49:44+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-07-14T15:08:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=81105cb9ef68c4d88eab206f111af448440c8f30'/>
<id>urn:sha1:81105cb9ef68c4d88eab206f111af448440c8f30</id>
<content type='text'>
</content>
</entry>
<entry>
<title>supervisor: factor supervisor_background_tasks from sundry ports</title>
<updated>2020-07-15T16:49:44+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-07-13T15:33:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1df48176ce2e4111c4629269cb86d2a6e365a3d2'/>
<id>urn:sha1:1df48176ce2e4111c4629269cb86d2a6e365a3d2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>supervisor: factor out, Handle USB via background callback</title>
<updated>2020-07-15T16:49:44+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-07-07T16:14:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6160d11c5a04f60e54ce977fd73fafa5ba858aa0'/>
<id>urn:sha1:6160d11c5a04f60e54ce977fd73fafa5ba858aa0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>background_callback: Avoid CALLBACK_CRITICAL_BEGIN with nothing to do</title>
<updated>2020-07-15T14:26:47+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-07-10T19:42:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=36b46465167f15eaf8535608b16859e6de10fac8'/>
<id>urn:sha1:36b46465167f15eaf8535608b16859e6de10fac8</id>
<content type='text'>
CALLBACK_CRITICAL_BEGIN is heavyweight, but we can be confident we do
not have work to do as long as callback_head is NULL.

This gives back performance on nRF.
</content>
</entry>
<entry>
<title>supervisor: tick: only run background tasks once per tick</title>
<updated>2020-07-15T14:26:47+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-07-09T14:47:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8c4a9f644407ee6fccf3720fd3b727085a2ff109'/>
<id>urn:sha1:8c4a9f644407ee6fccf3720fd3b727085a2ff109</id>
<content type='text'>
</content>
</entry>
</feed>
