Opened 12 years ago

Last modified 8 years ago

#53 assigned new-feature

application -- need ctrl-c handler for apps

Reported by: Fred T. Hamster Owned by: bugdock
Priority: blocker Milestone:
Component: feistymeow-nucleus Version:
Keywords: application Cc:

Description

  1. ctrl c handler must cleanup
    1. the control-c handler that we will activate when break is hit needs to clean up the program objects like the shared memory chunks.
    2. can it invoke the prog wide cleanup and then just exit?
    3. that will not shut down all objects cleanly however, including threads.

Change History (4)

comment:1 by Fred T. Hamster, 12 years ago

Type: defectenhancement

comment:2 by Fred T. Hamster, 8 years ago

Owner: changed from Fred T. Hamster to bugdock
Status: newassigned

comment:3 by Fred T. Hamster, 8 years ago

really need ctrl c handling!

so we can set an exit function or something that
leaves the script right away and sets return value
to failure code.

otherwise, you hit ctrl-c and the current subshell quits
and the script just tries to keep running.

this needs to be a really tiny little bit of code
we can load easily into any bash perl python etc script.

comment:4 by Fred T. Hamster, 8 years ago

Priority: minorblocker

hmmm, this is both for scripts and for our apps!

Note: See TracTickets for help on using tickets.