-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/109722/
-----------------------------------------------------------
Review request for Solid and Lukáš Tinkl.
Description
-------
Cache for DeviceBackends was static, but there were no synchronization.
Instead of synchronizing everything, store the cache inside DeviceManager, as
DeviceManagers are created per-thread.
To do this, I needed static getInstance() method in Ifaces::DeviceManager.
Also, it may help in future.
Diffs
-----
solid/solid/ifaces/devicemanager.h 3488d0b
solid/solid/devicemanager.cpp a465169
solid/solid/backends/udisks2/udisksmanager.cpp e76dfd1
solid/solid/backends/udisks2/udisksmanager.h 3961984
solid/solid/backends/udisks2/udisksdevicebackend.cpp 31ccbcf
solid/solid/backends/udisks2/udisksdevicebackend.h e7f3cc8
solid/solid/backends/udisks2/udisksdevice.cpp 1aa7b6d
Diff: http://git.reviewboard.kde.org/r/109722/diff/
Testing
-------
Thanks,
Alexander Mezin
_______________________________________________
Kde-hardware-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-hardware-devel