Implement WinNT condition variables, add semaphors
This commit is contained in:
@@ -55,6 +55,43 @@ int bh_mutex_unlock(bh_mutex_t *mutex)
|
||||
return -1;
|
||||
}
|
||||
|
||||
int bh_semaphore_init(bh_semaphore_t *semaphore, int count)
|
||||
{
|
||||
(void)semaphore;
|
||||
(void)count;
|
||||
return -1;
|
||||
}
|
||||
|
||||
void bh_semaphore_destroy(bh_semaphore_t *semaphore)
|
||||
{
|
||||
(void)semaphore;
|
||||
}
|
||||
|
||||
int bh_semaphore_post(bh_semaphore_t *semaphore)
|
||||
{
|
||||
(void)semaphore;
|
||||
return -1;
|
||||
}
|
||||
|
||||
int bh_semaphore_wait(bh_semaphore_t *semaphore)
|
||||
{
|
||||
(void)semaphore;
|
||||
return -1;
|
||||
}
|
||||
|
||||
int bh_semaphore_wait_for(bh_semaphore_t *semaphore,
|
||||
unsigned long timeout)
|
||||
{
|
||||
(void)semaphore;
|
||||
return -1;
|
||||
}
|
||||
|
||||
int bh_semaphore_try_wait(bh_semaphore_t *semaphore)
|
||||
{
|
||||
(void)semaphore;
|
||||
return -1;
|
||||
}
|
||||
|
||||
int bh_cond_init(bh_cond_t *cond)
|
||||
{
|
||||
(void)cond;
|
||||
|
||||
Reference in New Issue
Block a user