I noticed that in the Hal.cpp (gecko/hal/), there is always a function named 
AssertMainThread(); got called in the first line of each function. Such as 
SetTimezone or EnableSensorNotification. 

Can anyone explain this a bit why this function always there and how it works?

Thanks
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to