Commit b6489e7e authored by Philipp Schafft's avatar Philipp Schafft
Browse files

Update: Renamed PROTECT_CODE() to IGLOO_PROTECT_CODE()

Is this macro in use at all?
parent 2f7226c8
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment