section-engineering-education / engineering-education

“Section's Engineering Education (EngEd) Program is dedicated to offering a unique quality community experience for computer science university students."
Apache License 2.0
364 stars 890 forks source link

Signal Handling in C++ #3684

Closed fely545 closed 2 years ago

fely545 commented 3 years ago

Proposed title of article

Signal Handling in C++

Introduction paragraph (2-3 paragraphs):

Signals are the interrupts delivered to a process by the operating system which can terminate a program prematurely. You can generate interrupts by pressing Ctrl+C on a UNIX, LINUX, Mac OS X or Windows system. C++ signal-handling library provides function signal to trap unexpected events. In this tutorial, we will learn how to handle signals in C++ using the signal() and the raise() function.

Key takeaways:

By the end of this article the reader should have learned the following:

References:

N/A

ahmadmardeni1 commented 3 years ago

Good afternoon and thank you for submitting your topic suggestion. @fely545 Your topic form has been entered into our queue and should be reviewed (for approval) as soon as a content moderator is finished reviewing the ones in the queue before it.

hectorkambow commented 3 years ago

How will this article differ from what is published in/on other sites?

fely545 commented 3 years ago

Hello @hectorkambow

In this article I will explain some examples of signals along with their description and working capability which are not included in these articles eg SIGQUIT signal

Cc @ahmadmardeni1

ahmadmardeni1 commented 3 years ago

Sounds like a helpful topic - let's please be sure it adds value beyond what is in any official docs and/or what is covered in other blog sites. (the articles should go beyond a basic explanation - and it is always best to reference any EngEd article and build upon it).

Please be attentive to grammar/readability and make sure that you put your article through a thorough editing review prior to submitting it for final approval. (There are some great free tools that we reference in EngEd resources.) ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.

Please be sure to double-check that it does not overlap with any existing EngEd articles, articles on other blog sites, or any incoming EngEd topic suggestions (if you haven't already) to avoid any potential article closure, please reference any relevant EngEd articles in yours. - Approved @fely545

hectorkambow commented 2 years ago

to help avoid a backlog queue we are closing this PR - it can be reopened when ready*