krish1 wrote on Saturday, March 01, 2008:
hi,
I am woking on freeRTOS,where i using quence concept when my quencecreate is not created inside my for loop but when i use quence create outside for loop quence is created correctly but resources are not shared properly where my demo application working properly…wht its works properly…
xQueue = xQueueCreate( 10,sizeof( unsigned portLONG ));)//where q is created properly bt not sharing resources properly
for(;
{
xQueue = xQueueCreate( 10, sizeof( unsigned portLONG ) );)//where q is not created
if( xQueue != 0
{
if(xQueueSend( xQueue,( void * ) &ulVar, ( portTickType ) 10 ) ==1 )
{
k++;
}
}
}