On Tue, 2022-04-19 at 10:46 +0100, Jose Quaresma wrote: > The python set() is not thread safe and we use it on the ThreadedPool. > With this LockedSet python class we can call the 'add' and 'remove' > safely inside the ThreadedPool. > > This piece of code is taken from the stackoverflow > https://stackoverflow.com/questions/13610654/how-to-make-built-in-containers-sets-dicts-lists-thread-safe > > May be related with [YOCTO #14775] -- > https://bugzilla.yoctoproject.org/show_bug.cgi?id=14775 > > Signed-off-by: Jose Quaresma <quaresma.j...@gmail.com>
For info, https://autobuilder.yoctoproject.org/typhoon/#/builders/74/builds/5083 was a failure with master-next which included the changes in this discussion. It doesn't seem to address that issue :( Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#164944): https://lists.openembedded.org/g/openembedded-core/message/164944 Mute This Topic: https://lists.openembedded.org/mt/90558156/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-