Monitor memory usage and panic on over 8MB used

This commit is contained in:
Michal Moskal
2017-12-13 15:28:52 +00:00
parent 3e2a1ec9e1
commit 67ec4accb9
3 changed files with 26 additions and 3 deletions

View File

@ -3,6 +3,8 @@
#include "pxtbase.h"
void *xmalloc(size_t sz);
namespace pxt {
void raiseEvent(int id, int event);
int allocateNotifyEvent();