Project

General

Profile

Actions

Bug #1104

closed

appmgr waiter thread doesn't exit cleanly on Ctrl-C.

Added by Hammel about 1 month ago. Updated about 1 month ago.

Status:
Closed
Priority:
Immediate
Assignee:
Category:
General
Target version:
Start date:
13 Mar 2024
Due date:
% Done:

100%

Estimated time:
Severity:
02 - High

Description

The signal appears to be caught but the waiter thread times out trying to shutdown.
This may be due to no child pid having ever been started.

Actions #1

Updated by Hammel about 1 month ago

The signal isn't caught - I need to catch SIGINT and handle it properly.

Actions #2

Updated by Hammel about 1 month ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50

Signal handling updated and pthread_cond_broadcast() added to shutdown.
Code is ready to be tested.

Actions #3

Updated by Hammel about 1 month ago

  • Status changed from In Progress to Closed
  • % Done changed from 50 to 100

Code tested on hardware successfully.
Code committed and pushed.
Closing issue.

Actions

Also available in: Atom PDF