Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loopers, Non-loopers and Control IPs #66

Closed
emil14 opened this issue Mar 19, 2022 · 1 comment
Closed

Loopers, Non-loopers and Control IPs #66

emil14 opened this issue Mar 19, 2022 · 1 comment

Comments

@emil14
Copy link
Collaborator

emil14 commented Mar 19, 2022

Context

As it turns out there are at least 2 types of components in FBP:

  • Loopers
  • Non-loopers

See the book.

You may have noticed that Figures 9.3 and 9.4 did not have the familiar "do while receive has not reached end of data" - this is because they are written in a style which assumes that they end execution after processing each IP. In FBP an inactive process will be invoked the next time an IP arrives at any of its input ports, so this kind of component will be invoked once for each incoming IP. A result of this is that it cannot maintain continuity across multiple IPs, but this is where the stack comes in. Since the stack is outside the process's local storage, continuity can be maintained across the invocations using the stack. This style of component is called a "non-looper", as opposed to components written in the "do while receive has not reached end of data" style, which are referred to as "loopers". This is not an externally detectable attribute of a component, but just depends on when and how often the component decides to end processing - as long as there is data to be processed, it will continue being reinvoked.

Problem

  1. Figure out why are there these 2 types
  2. Is it possible to solve the tasks without it
  3. What are control IPs and why do we need them

Highly likely related to #35

@emil14 emil14 changed the title Loopers vs Non-loopers Loopers vs Non-loopers and Control IPs Mar 19, 2022
@emil14 emil14 changed the title Loopers vs Non-loopers and Control IPs Loopers, Non-loopers and Control IPs Mar 19, 2022
@emil14
Copy link
Collaborator Author

emil14 commented Nov 8, 2022

It's not clear why this issue exists

@emil14 emil14 closed this as completed Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant