Esempio n. 1
0
/*!
 * Restart all threads waiting on conditional variable
 * \param cond conditional variable descriptor (user level descriptor)
 * \return 0 if successful, -1 otherwise and appropriate error number is set
 */
int sys__pthread_cond_broadcast ( void *p )
{
	return cond_release ( p, TRUE );
}
Esempio n. 2
0
/*!
 * Restart all threads waiting on conditional variable
 * \param cond conditional variable descriptor (user level descriptor)
 * \return 0 if successful, -1 otherwise and appropriate error number is set
 */
int sys__pthread_cond_broadcast ( pthread_cond_t *cond )
{
	return cond_release ( cond, TRUE );
}
Esempio n. 3
0
/*!
 * Restart thread waiting on conditional variable
 * \param cond conditional variable descriptor (user level descriptor)
 * \return 0 if successful, -1 otherwise and appropriate error number is set
 */
int sys__pthread_cond_signal ( void *p )
{
	return cond_release ( p, FALSE );
}
Esempio n. 4
0
/*!
 * Restart thread waiting on conditional variable
 * \param cond conditional variable descriptor (user level descriptor)
 * \return 0 if successful, -1 otherwise and appropriate error number is set
 */
int sys__pthread_cond_signal ( pthread_cond_t *cond )
{
	return cond_release ( cond, FALSE );
}