Open bama4 opened 3 years ago
I am thinking about whether this should be implemented using the active object design pattern https://www.topcoder.com/thrive/articles/Concurrency%20Patterns%20-%20Active%20Object%20and%20Monitor%20Object
Need to solve problem of controlling thread termination:
Description This ticket involves implementing a task structure. The
task
library should be a separate folder under theutils
top level directory.This
task
library should be linked with all of the other util packages into one library calledlibutils.so
. Depending on the design, the components may need to be split up into separate libraries.The task takes a callback function, and
void *
function as its members.Suggested layout:
Goal The task structure is created and its members include