You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
The first interception of the signal SIGINT (ctrl-c) the thread from the call-back function is to be created and launched. The second interception shall cause the program to exit. Moreover, the program shall have the following specification:
1. Program shall notify the moment of start and the moment of termination.
2. On start-up program shall display ID of the process as well as ID of the main thread.
3. Program shall notify own status and shows the progress.
The thread call-back function shall follow the specification:
1. Function shall notify the moment of start and the moment of termination
2. On start-up, function shall display ID of the current process and ID of the thread
3. Thread shall run for defined period of time. The period of time shall be defined at random from the range between 10 and 20 seconds.
Call-back function shall display a message containing the ID of the process, the ID of the thread and the own progress.