FAQ
I currently have a deamon that reads a data from a serial port, and based
on certain data it sends out alert messages (sms,email,etc). The problem I
have is that sending alerts requires a bit of time (about 30 seconds), so
I use non-blocking queues which works fine. But, when a signal to
"terminate" is sent to the daemon, only the first entry in the alert queue
is completed before exit. Is there way to get all the items on the queue
to be executed before the exit?

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
grouppython-list @
categoriespython
postedJun 15, '04 at 2:44p
activeJun 15, '04 at 3:22p
posts2
users2
websitepython.org

2 users in discussion

Eddie Corns: 1 post User At: 1 post

People

Translate

site design / logo © 2022 Grokbase