Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "[Python dev ctrl] ChipStack is initialized twice on Darwin (#… (
#6550) * Revert "[Python dev ctrl] ChipStack is initialized twice on Darwin (#6066)" This reverts commit 23cba58. Logic seemed correct before: python only works on device layer and device layer requires initialization. Unsure why darwin is initialized twice, howver the native bit is NOT supposed to be called by the device-ctrl-code only by chip-native. Have to figure out how not to break chip-native. * Track platform manager initialization and do not allow double-init * Added large comment about thread safety in the double-init check of the platform manager * Removed std::atomic reference as it is not relevant here: we need a mutex to wait for init to complete, not just blindly say iniialized before it is done
- Loading branch information