[PATCH 1/2] capture: change to use malloc/vs/rtems_workspace_alloc.

Chris Johns chrisj at rtems.org
Wed Aug 27 00:46:56 UTC 2014


On 27/08/2014 6:16 am, Jennifer Averett wrote:
> Since neither malloc nor rtems_workspace_alloc should be called during a
> task switch the capture task was changed to manage a pool of capture
> tasks that is allocated at open.

Maybe the locking issue should be resolved first. For example the 
approach I outlined in the other thread may remove the need to manage 
task data in the capture engine and generally improve the design. For 
example the "id" could be held in the TCB.

Chris



More information about the devel mailing list