草庐IT

OSSpinLockLock

全部标签

ios - 应用程序被锁定 malloc -> OSSpinLockLock$VARIANT$mp

我的iPhone应用程序被锁定malloc。如果我在Xcode中按下pause按钮,它会在OSSpinLockLock$VARIANT$mp函数中暂停。#00x95dfbc2dinOSSpinLockLock$VARIANT$mp()#10x95dc2613inszone_malloc_should_clear()#20x95dc366binszone_malloc()#30x95df9962inmalloc_zone_malloc()#40x95dfa882inmalloc()#50x0219743ainoperatornew(unsignedlong)()如果我按continue然

ios - 我在 Controller 内调用 startDeviceMotionUpdatesToQueue 时得到 OSSpinLockLock

在我的根Controller中,我有一个属性CMMotionManager@property(strong,nonatomic)CMMotionManager*MManager;在它的getter中,我进行了惰性实例化。当Controller的View加载时,我调用这个方法-(void)reloadAccelerometer{NSLog(@"Awaywego");self.MManager.deviceMotionUpdateInterval=10.0/60.0;[self.MManagerstartDeviceMotionUpdatesToQueue:self.queuewithHa