Skip to content

API for applications without event loop. #16

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

godunko
Copy link
Contributor

@godunko godunko commented Jul 7, 2021

No description provided.

@reznikmm
Copy link
Member

reznikmm commented Jul 8, 2021

Instead of patching asynchronous API with synchronous function I would propose to develop a dedicated synchronous API. Perhaps we can leverage synchronous interfaces, so the use use timed entry call:

select
   P.Read_Standard_Output (Data, Last);
or 
   delay 5.0;
end select;

or conditional entry call

select
   P.Read_Standard_Output (Data, Last);
else 
   Do_Something_Else;
end select;

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

Successfully merging this pull request may close these issues.

2 participants