mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
Merges changes from master branch to resolve issue with CPU and memory
and constraints on scheduled thread pool saturation. Adds a new scheduled thread pool for each processing chain that the components in the chain can share, versus the single shared pool exposed by the threadpoolmanager class.
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
|
||||
package module;
|
||||
|
||||
import java.util.concurrent.ScheduledExecutorService;
|
||||
|
||||
public abstract class Module
|
||||
{
|
||||
/**
|
||||
@@ -57,9 +59,9 @@ public abstract class Module
|
||||
public abstract void reset();
|
||||
|
||||
/**
|
||||
* Start processing.
|
||||
* Start processing. Provides an executor to use for scheduling tasks
|
||||
*/
|
||||
public abstract void start();
|
||||
public abstract void start( ScheduledExecutorService executor );
|
||||
|
||||
/**
|
||||
* Stop processing
|
||||
|
||||
Reference in New Issue
Block a user