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

2014-08-26 Thread Chris Johns
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 approa

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

2014-08-26 Thread Jennifer Averett
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. --- cpukit/libmisc/capture/capture-cli.c | 32 --- cpukit/libmisc/capture/capture.c | 79 ++