diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2011-03-15 20:48:52 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-03-19 08:30:28 +0000 |
commit | 44bc10d5bcb1957f76925b849488288f74f623b7 (patch) | |
tree | 11e56af90b0b2e78bf058fdd5058ce660b67d8d2 /qemu-thread.h | |
parent | 1a290aea8dd25bd8a6d0edb945b120ea26fc05e0 (diff) | |
download | qemu-44bc10d5bcb1957f76925b849488288f74f623b7.zip qemu-44bc10d5bcb1957f76925b849488288f74f623b7.tar.gz qemu-44bc10d5bcb1957f76925b849488288f74f623b7.tar.bz2 |
qemu-thread: delete unused functions
qemu_mutex_timedlock() and qemu_cond_timedwait() are no longer used.
Remove them and their helper timespec_add_ms().
Reported-by: François Revol <revol@free.fr>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'qemu-thread.h')
-rw-r--r-- | qemu-thread.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/qemu-thread.h b/qemu-thread.h index acdb6b2..edc7ab6 100644 --- a/qemu-thread.h +++ b/qemu-thread.h @@ -15,7 +15,6 @@ void qemu_mutex_init(QemuMutex *mutex); void qemu_mutex_destroy(QemuMutex *mutex); void qemu_mutex_lock(QemuMutex *mutex); int qemu_mutex_trylock(QemuMutex *mutex); -int qemu_mutex_timedlock(QemuMutex *mutex, uint64_t msecs); void qemu_mutex_unlock(QemuMutex *mutex); void qemu_cond_init(QemuCond *cond); @@ -29,7 +28,6 @@ void qemu_cond_destroy(QemuCond *cond); void qemu_cond_signal(QemuCond *cond); void qemu_cond_broadcast(QemuCond *cond); void qemu_cond_wait(QemuCond *cond, QemuMutex *mutex); -int qemu_cond_timedwait(QemuCond *cond, QemuMutex *mutex, uint64_t msecs); void qemu_thread_create(QemuThread *thread, void *(*start_routine)(void*), |