Index: chrome/browser/sync/util/compat_pthread.h |
=================================================================== |
--- chrome/browser/sync/util/compat_pthread.h (revision 26817) |
+++ chrome/browser/sync/util/compat_pthread.h (working copy) |
@@ -19,21 +19,4 @@ |
} |
#endif // OS_WIN |
-#if (!defined(OS_WIN) && !defined(OS_MACOSX)) |
-// TODO(timsteele): What the heck is this? |
-inline int sem_post_multiple(sem_t* sem, int number) { |
- int i; |
- int r = 0; |
- for (i = 0; i < number; i++) { |
- r = sem_post(sem); |
- if (r != 0) { |
- LOG_IF(ERROR, i > 0) << "sem_post() failed on iteration #" << i << |
- " of " << number; |
- return r; |
- } |
- } |
- return 0; |
-} |
-#endif // (!defined(OS_WIN) && !defined(OS_MACOSX)) |
- |
#endif // CHROME_BROWSER_SYNC_UTIL_COMPAT_PTHREAD_H_ |