OLD | NEW |
1 /* | 1 /* |
2 * libusb synchronization on Microsoft Windows | 2 * libusb synchronization on Microsoft Windows |
3 * | 3 * |
4 * Copyright (C) 2010 Michael Plante <michael.plante@gmail.com> | 4 * Copyright (C) 2010 Michael Plante <michael.plante@gmail.com> |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Lesser General Public | 7 * modify it under the terms of the GNU Lesser General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2.1 of the License, or (at your option) any later version. | 9 * version 2.1 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 int usbi_cond_destroy(usbi_cond_t *cond); | 77 int usbi_cond_destroy(usbi_cond_t *cond); |
78 int usbi_cond_wait(usbi_cond_t *cond, usbi_mutex_t *mutex); | 78 int usbi_cond_wait(usbi_cond_t *cond, usbi_mutex_t *mutex); |
79 int usbi_cond_timedwait(usbi_cond_t *cond, | 79 int usbi_cond_timedwait(usbi_cond_t *cond, |
80 usbi_mutex_t *mutex, | 80 usbi_mutex_t *mutex, |
81 const struct timespec *abstime); | 81 const struct timespec *abstime); |
82 int usbi_cond_broadcast(usbi_cond_t *cond); | 82 int usbi_cond_broadcast(usbi_cond_t *cond); |
83 int usbi_cond_signal(usbi_cond_t *cond); | 83 int usbi_cond_signal(usbi_cond_t *cond); |
84 | 84 |
85 #endif /* LIBUSB_THREADS_WINDOWS_H */ | 85 #endif /* LIBUSB_THREADS_WINDOWS_H */ |
86 | 86 |
OLD | NEW |