mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #3297 from Mizuho32/master-greentea_client-mutex
added static specifer in green_metrics.cpppull/3150/merge
commit
4638cea1b2
|
@ -34,7 +34,7 @@ typedef struct {
|
||||||
} thread_info_t;
|
} thread_info_t;
|
||||||
|
|
||||||
// Mutex to protect "buf"
|
// Mutex to protect "buf"
|
||||||
SingletonPtr<Mutex> mutex;
|
static SingletonPtr<Mutex> mutex;
|
||||||
#if defined(MBED_STACK_STATS_ENABLED) && MBED_STACK_STATS_ENABLED
|
#if defined(MBED_STACK_STATS_ENABLED) && MBED_STACK_STATS_ENABLED
|
||||||
static char buf[128];
|
static char buf[128];
|
||||||
static SingletonPtr<CircularBuffer<thread_info_t, THREAD_BUF_COUNT> > queue;
|
static SingletonPtr<CircularBuffer<thread_info_t, THREAD_BUF_COUNT> > queue;
|
||||||
|
|
Loading…
Reference in New Issue