mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 22:28:22 +01:00
cosmetics: thread.c: drop a redundant comment
+ fix #if/#else/#endif comment Change-Id: I76bfd3b123ed181897ed0feba721d5c1a3a2b0d7
This commit is contained in:
parent
8924a3a704
commit
da41148560
@ -126,14 +126,14 @@ static int pthread_cond_wait(pthread_cond_t* const condition,
|
|||||||
return !ok;
|
return !ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
#else // _WIN32
|
#else // !_WIN32
|
||||||
# define THREADFN void*
|
# define THREADFN void*
|
||||||
# define THREAD_RETURN(val) val
|
# define THREAD_RETURN(val) val
|
||||||
#endif
|
#endif // _WIN32
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
static THREADFN ThreadLoop(void* ptr) { // thread loop
|
static THREADFN ThreadLoop(void* ptr) {
|
||||||
WebPWorker* const worker = (WebPWorker*)ptr;
|
WebPWorker* const worker = (WebPWorker*)ptr;
|
||||||
int done = 0;
|
int done = 0;
|
||||||
while (!done) {
|
while (!done) {
|
||||||
|
Loading…
Reference in New Issue
Block a user