Protect global data with locks
This commit is contained in:
2
baked.h
2
baked.h
@ -30,5 +30,7 @@ void init_baked_resources(void);
|
||||
void free_baked_resources(void);
|
||||
bool get_baked_resource_path(char *key, char *buf, size_t size);
|
||||
void baked_resource_each(void (*f)(Baked_Resource *resource, void *udata), void *udata);
|
||||
void lock_baked_resources(void);
|
||||
void unlock_baked_resources(void);
|
||||
|
||||
#endif // BAKED_H_
|
||||
|
Reference in New Issue
Block a user