Pearls in Life
  • Home
  • Blog
  • Archives

Handle KeyboardInterrupt in Python MultiProcessing

Date Sun 27 December 2015 Category python Tags multiprocessing / keyboardinterrupt / process

multiprocessing is a convenient library to take the advantage of multiple cores easily found in modern processes. The typical pattern is to spawn a bunch of worker processes, and let them consume the data from a queue. However, when debugging, I usually found myself attempting to terminate the script using Ctrl-C yet to find it has no effect.

more ...

  • 0 Hits

  • Popular Posts

    • Handle KeyboardInterrupt in Python MultiProcessing
  • Recent Posts

    • Handle KeyboardInterrupt in Python MultiProcessing
  • Categories

    • os161 [27]
    • linux [24]
    • android [20]
    • errors [14]
    • network [11]
  • Tags

    • AOSP
    • backup
    • beamer
    • blog
    • c
    • gdb
    • hammerhead
    • jekyll
    • mac
    • ns2
    • OTA
    • plugin
    • python
    • ruby
    • ssh
    • synchronization
    • syscall
    • travis
    • ubuntu
    • vm
  • Social

    • github
    • stack-overflow
  • GitHub Repos

    Status updating...

    @jhshi on GitHub
  • Links

    • blue Systems Group
    • University at Buffalo

© 2015 Jinghao Shi · Updated on 2020-04-02 · Powered by pelican-bootstrap3, Pelican, Bootstrap

Back to top