1
0
Fork 0

Update: Renamed PROTECT_CODE() to IGLOO_PROTECT_CODE()

Is this macro in use at all?
This commit is contained in:
Philipp Schafft 2018-10-12 11:34:55 +00:00
parent 2f7226c8bd
commit b6489e7e2d
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ void igloo_thread_sleep(unsigned long len);
/* for using library functions which aren't threadsafe */
void igloo_thread_library_lock(void);
void igloo_thread_library_unlock(void);
#define PROTECT_CODE(code) { igloo_thread_library_lock(); code; igloo_thread_library_unlock(); }
#define IGLOO_PROTECT_CODE(code) { igloo_thread_library_lock(); code; igloo_thread_library_unlock(); }
/* thread information functions */
igloo_thread_type *igloo_thread_self(void);