Add hb_static_mutex_t
This commit is contained in:
parent
56eb5ad6f9
commit
a4b1900913
|
@ -100,6 +100,14 @@ typedef volatile int hb_mutex_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
struct hb_static_mutex_t : hb_mutex_t
|
||||||
|
{
|
||||||
|
hb_static_mutex_t (void) {
|
||||||
|
hb_mutex_init (*this);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
HB_END_DECLS
|
HB_END_DECLS
|
||||||
|
|
||||||
#endif /* HB_MUTEX_PRIVATE_HH */
|
#endif /* HB_MUTEX_PRIVATE_HH */
|
||||||
|
|
Loading…
Reference in New Issue