Deutsch English Français Italiano |
<l88rhuFigo2U1@mid.individual.net> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: rbowman <bowman@montana.com> Newsgroups: comp.os.linux.advocacy Subject: Re: The Joy of Python Date: 17 Apr 2024 02:47:27 GMT Lines: 13 Message-ID: <l88rhuFigo2U1@mid.individual.net> References: <17c636a2d6477a17$13590$197378$802601b3@news.usenetexpress.com> <661c3aa1$0$2574$426a74cc@news.free.fr> <l82u1gFk5qbU1@mid.individual.net> <uvj3qs$8i51$2@dont-email.me> <uvkjht$j1nb$1@dont-email.me> <l864uuF5pu5U1@mid.individual.net> <uvlp4f$u64i$1@dont-email.me> <l87v41Fe10mU3@mid.individual.net> <uvn6uf$17j5g$4@dont-email.me> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net cbffLaQ427TpZBywKDyiRwIlVD+9QTaebOupRH5xBvNnG1jO9B Cancel-Lock: sha1:zJHSEjDw4+9qy6zwcJG7VsJrbl4= sha256:28BcmlQE8STbRlW0G2B2mjkbDoX3LTHvO+O03pgVHLI= User-Agent: Pan/0.149 (Bellevue; 4c157ba) Bytes: 1680 On Wed, 17 Apr 2024 00:59:59 -0000 (UTC), Lawrence D'Oliveiro wrote: > There is a downside, in that maintaining those reference counts reduces > the concurrency when trying to do multithreading. The Python folks have > a solution to that, which will take a bit of work to do correctly, but > which is slowly going in. So far I haven't needed to use queue although I can see its potential. I have been playing with MicroPython on a RP2040. It implements _threading but queue is not done afaik. In this case one thread reads temperature/ humidity from a sensor while the other handles wifi connections requesting for the data. A queue would be useful for accumulating history between requests.