| OLD | NEW |
| 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 // Use of this source code is governed by a BSD-style license |
| 4 // Software License Agreement: http://www.webmproject.org/license/software/ | 4 // that can be found in the COPYING file in the root of the source |
| 5 // Additional IP Rights Grant: http://www.webmproject.org/license/additional/ | 5 // tree. An additional intellectual property rights grant can be found |
| 6 // in the file PATENTS. All contributing project authors may |
| 7 // be found in the AUTHORS file in the root of the source tree. |
| 6 // ----------------------------------------------------------------------------- | 8 // ----------------------------------------------------------------------------- |
| 7 // | 9 // |
| 8 // Multi-threaded worker | 10 // Multi-threaded worker |
| 9 // | 11 // |
| 10 // Author: Skal (pascal.massimino@gmail.com) | 12 // Author: Skal (pascal.massimino@gmail.com) |
| 11 | 13 |
| 12 #include <assert.h> | 14 #include <assert.h> |
| 13 #include <string.h> // for memset() | 15 #include <string.h> // for memset() |
| 14 #include "./thread.h" | 16 #include "./thread.h" |
| 15 | 17 |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 #endif | 236 #endif |
| 235 } | 237 } |
| 236 assert(worker->status_ == NOT_OK); | 238 assert(worker->status_ == NOT_OK); |
| 237 } | 239 } |
| 238 | 240 |
| 239 //------------------------------------------------------------------------------ | 241 //------------------------------------------------------------------------------ |
| 240 | 242 |
| 241 #if defined(__cplusplus) || defined(c_plusplus) | 243 #if defined(__cplusplus) || defined(c_plusplus) |
| 242 } // extern "C" | 244 } // extern "C" |
| 243 #endif | 245 #endif |
| OLD | NEW |