キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

What are the best practices for detecting non-UI trigger events? (Polling seems not)

Polling, interrupts, and your doorbell.

 

Polling your doorbell: You are waiting for a package and you keep checking your doorbell app to see if anyone is coming to your door with a package.  You can't do much else because checking your app all the time takes a lot of concentration.

 

Doorbell Interrupt: You are watching TV, you hear the doorbell, you answer it and get your package.  You are not actively polling the doorbell.  True that there is a little program inside your brain that tells you to respond to the doorbell, but you can easily watch TV while waiting for your package.

 

It all comes down to semantics, and I guess that's your answer.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
メッセージ11/11
232件の閲覧回数