You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The C and C++ example in the section Handling Interrupt Signals use a different approaches on how to shut down the application. The deviation is more than just writing the same algorithm in a different programming languages.
The C++ example sets the global variable s_interrupted as described in the text, while the C example uses a pipe instead.
To avoid confusion I think the examples should stick to the same method across all programming languages - as far as it make sense for the given programming language.
The text was updated successfully, but these errors were encountered:
Related: #798 <#798>
The C and C++ example in the section *Handling Interrupt Signals* use a
different approaches on how to shut down the application. The deviation is
more than just writing the same algorithm in a different programming
languages.
The C++ example sets the global variable *s_interrupted* as described in
the text, while the C example uses a pipe instead.
To avoid confusion I think the examples should stick to the same method
across all programming languages - as far as it make sense for the given
programming language.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#799>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADYNOTRXMRHK5OU6AQLQFTRIIJX7ANCNFSM4LPIMY7A>
.
Related: #798
The C and C++ example in the section Handling Interrupt Signals use a different approaches on how to shut down the application. The deviation is more than just writing the same algorithm in a different programming languages.
The C++ example sets the global variable s_interrupted as described in the text, while the C example uses a pipe instead.
To avoid confusion I think the examples should stick to the same method across all programming languages - as far as it make sense for the given programming language.
The text was updated successfully, but these errors were encountered: