mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 05:50:21 +00:00
threads: remove unused function pthread_cond_broadcast
This commit is contained in:
parent
40b243bf5a
commit
1b8253168a
@ -52,7 +52,6 @@ typedef git_atomic git_atomic_ssize;
|
||||
#define git_cond_free(c) pthread_cond_destroy(c)
|
||||
#define git_cond_wait(c, l) pthread_cond_wait(c, l)
|
||||
#define git_cond_signal(c) pthread_cond_signal(c)
|
||||
#define git_cond_broadcast(c) pthread_cond_broadcast(c)
|
||||
|
||||
/* Pthread (-ish) rwlock
|
||||
*
|
||||
|
@ -156,10 +156,6 @@ int pthread_cond_signal(pthread_cond_t *cond)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* pthread_cond_broadcast is not implemented because doing so with just
|
||||
* Win32 events is quite complicated, and no caller in libgit2 uses it
|
||||
* yet.
|
||||
*/
|
||||
int pthread_num_processors_np(void)
|
||||
{
|
||||
DWORD_PTR p, s;
|
||||
|
@ -56,7 +56,6 @@ int pthread_cond_init(pthread_cond_t *, const pthread_condattr_t *);
|
||||
int pthread_cond_destroy(pthread_cond_t *);
|
||||
int pthread_cond_wait(pthread_cond_t *, git_mutex *);
|
||||
int pthread_cond_signal(pthread_cond_t *);
|
||||
/* pthread_cond_broadcast is not supported on Win32 yet. */
|
||||
|
||||
int pthread_num_processors_np(void);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user