Saturday, April 02, 2011 at 9:18 PM.
feedhoseSuite.wakeWaitingThreads
on wakeWaitingThreads (hosename) { <<Changes <<9/29/10; 12:42:36 PM by DW <<Add hosename param. <<9/25/10; 8:28:05 PM by DW <<Created. local (adrdata = feedHoseSuite.init (), i, adrtemptable, id); local (adrhose = feedhosesuite.inithose (hosename)); local (adrwaitingthreads = @system.temp.feedHose.server.waitingThreads.[hosename]); for i = sizeof (adrwaitingthreads^) downto 1 { adrtemptable = @adrwaitingthreads^ [i]; id = nameof (adrtemptable^); if thread.exists (id) { thread.wake (id)}; try {delete (adrtemptable)}}}; bundle { //test code wakeWaitingThreads ()}
This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.