Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(167)

Side by Side Diff: third_party/libwebp/utils/thread.c

Issue 12942006: libwebp: update snapshot to v0.3.0-rc6 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/libwebp/utils/thread.h ('k') | third_party/libwebp/utils/utils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 Google Inc. All Rights Reserved. 1 // Copyright 2011 Google Inc. All Rights Reserved.
2 // 2 //
3 // This code is licensed under the same terms as WebM: 3 // This code is licensed under the same terms as WebM:
4 // Software License Agreement: http://www.webmproject.org/license/software/ 4 // Software License Agreement: http://www.webmproject.org/license/software/
5 // Additional IP Rights Grant: http://www.webmproject.org/license/additional/ 5 // Additional IP Rights Grant: http://www.webmproject.org/license/additional/
6 // ----------------------------------------------------------------------------- 6 // -----------------------------------------------------------------------------
7 // 7 //
8 // Multi-threaded worker 8 // Multi-threaded worker
9 // 9 //
10 // Author: Skal (pascal.massimino@gmail.com) 10 // Author: Skal (pascal.massimino@gmail.com)
11 11
12 #ifdef HAVE_CONFIG_H
13 #include "config.h"
14 #endif
15
16 #include <assert.h> 12 #include <assert.h>
17 #include <string.h> // for memset() 13 #include <string.h> // for memset()
18 #include "./thread.h" 14 #include "./thread.h"
19 15
20 #if defined(__cplusplus) || defined(c_plusplus) 16 #if defined(__cplusplus) || defined(c_plusplus)
21 extern "C" { 17 extern "C" {
22 #endif 18 #endif
23 19
24 #ifdef WEBP_USE_THREAD 20 #ifdef WEBP_USE_THREAD
25 21
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 #endif 234 #endif
239 } 235 }
240 assert(worker->status_ == NOT_OK); 236 assert(worker->status_ == NOT_OK);
241 } 237 }
242 238
243 //------------------------------------------------------------------------------ 239 //------------------------------------------------------------------------------
244 240
245 #if defined(__cplusplus) || defined(c_plusplus) 241 #if defined(__cplusplus) || defined(c_plusplus)
246 } // extern "C" 242 } // extern "C"
247 #endif 243 #endif
OLDNEW
« no previous file with comments | « third_party/libwebp/utils/thread.h ('k') | third_party/libwebp/utils/utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698