Пример #1
0
/*********************************************************
	Resume tasks for this module
*/
HRESULT myAppResumeTasks(void)
{
	HRESULT hResult = NO_ERROR;


	hResult = TCTaskResume(myAppThreadID);
	if (hResult != NO_ERROR) return hResult;
	hResult = TCTaskResume(myMidiIndicateThreadID);	
	if (hResult != NO_ERROR) return hResult;
	
	return hResult;
}
Пример #2
0
/*********************************************************
	Resume tasks for this module
*/
HRESULT avsIntResumeTasks(void)
{
	HRESULT hResult = NO_ERROR;

	// avs interrupt event handler thread
	hResult = TCTaskResume(avsIntEventThreadID);
	if (hResult != NO_ERROR) return hResult;
	
#ifdef _AVSINT_POLLING
	// avs interrupt handler thread
	hResult = TCTaskResume(avsIntThreadID);
	if (hResult != NO_ERROR) return hResult;
#endif //_AVSINT_POLLING

	return hResult;
}
Пример #3
0
/*********************************************************
	Resume tasks for this module
*/
HRESULT avrDrdResumeTasks(void)
{
	HRESULT hResult = NO_ERROR;

	// avrDrd handler thread
	hResult = TCTaskResume(avrDrdHandlerThreadID);
	if (hResult != NO_ERROR) return hResult;

	return hResult;
}
Пример #4
0
/*********************************************************
	Resume tasks for this module
*/
HRESULT avcUnitNotifyResumeTasks(void)
{
    HRESULT hResult = NO_ERROR;

    // avcUnitNotify handler thread
    hResult = TCTaskResume(avcUnitNotifyThreadID);
    if (hResult != NO_ERROR) return hResult;

    return hResult;
}
Пример #5
0
/*********************************************************
	Resume tasks for this module
*/
HRESULT cliCBResumeTasks(void)
{
	HRESULT hResult = NO_ERROR;

#ifdef _CLICB_DEFERRED_TASK	
	// thread cli CB deferred task
	hResult = TCTaskResume(cliCBThreadID);
	if (hResult != NO_ERROR) return hResult;
#endif //_CLICB_DEFERRED_TASK

	return hResult;
}
Пример #6
0
/*********************************************************
	Resume tasks for this module
*/
HRESULT grayEventResumeTasks(void)
{
	HRESULT hResult = NO_ERROR;

#ifdef _GRAYINT_DEFERRED
	// gray deferred event handler thread
	hResult = TCTaskResume(grayDeferredThreadID);
	if (hResult != NO_ERROR) return hResult;
#endif //_GRAYINT_DEFERRED

#ifdef _GRAYINT_POLLING
	if (grayEventPollingEnable == TRUE)
	{
		// gray polling interrupt handler thread
		hResult = TCTaskResume(grayIntThreadID);
		if (hResult != NO_ERROR) return hResult;
	}
#endif //_GRAYINT_POLLING

	return hResult;
}
Пример #7
0
/*********************************************************
	Resume tasks for this module
*/
HRESULT avcResumeTasks(void)
{
	HRESULT hResult = NO_ERROR;

	// avc handler thread
	hResult = TCTaskResume(avcHandlerThreadID);
	if (hResult != NO_ERROR) return hResult;

	// avc unit threads
	hResult = avcUnitResumeTasks();
	if (hResult != NO_ERROR) return hResult;

	return hResult;
}