Пример #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 );
}
Пример #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 );
}
Пример #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 );
}
Пример #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 );
}