Small doubt in how chain works in RTEMS

2020-06-12 Thread Richi Dubey
Hi everyone, While going through testsuites/sptests/spchain/init.c, I noticed the following code: --- rtems_task Init( rtems_task_argument ignored ) { rtems_chain_control chain1; rtems_chain_node*p; test_nodenode1, node2; int

Re: Small doubt in how chain works in RTEMS

2020-06-12 Thread Gedare Bloom
On Fri, Jun 12, 2020 at 7:50 AM Richi Dubey wrote: > > Hi everyone, > > While going through testsuites/sptests/spchain/init.c, I noticed the > following code: > > --- > rtems_task Init( > rtems_task_argument ignored > ) > { > rtems_chain_control ch