mirror of
https://gitlab.xiph.org/xiph/icecast-common.git
synced 2025-02-02 15:07:47 -05:00
Update: Renamed PROTECT_CODE() to IGLOO_PROTECT_CODE()
Is this macro in use at all?
This commit is contained in:
parent
2f7226c8bd
commit
b6489e7e2d
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user