nasa / SBN

38 stars 23 forks source link

make task/poll switch load/runtime #23

Closed CDKnightNASA closed 4 years ago

CDKnightNASA commented 4 years ago

Having the #ifdef blocks for multi-task vs. polling leads to build/test issues (particularly annoying to have to build and test each possible configuration.)

It should be possible to have the determination of whether to use a polling model or a task-per-blocking-interface model be at load-time or even run-time reconfigurable.

Likely will be a configuration table setting for each peer and this should support a mixed model, with some peers using tasks and others using polling.