1
vote

Delayed Action, revisited
TURBU Tech
– A few days ago, I posted a simple “delayed action” unit that allows you to post a simple action to the Windows Message Queue, to be executed on the main thread after all currently pending messages. It worked by storing your proc in its own threadsafe queue, then posting a message which, when read, caused the proc to be popped back off the queue and executed. Turns out there are a couple problems with that. First, the message is already going through the Windows Message Queue. As David Heffernan pointed out in the comments, “One queue is enough. Two is too many.” I ...
Statistics
|
Visits by Source |
User Actions |