On Tue, Oct 18, 2011 at 3:18 AM, Jason Dusek <jason.du...@gmail.com> wrote: > The lazy bridging code, `lazyBridge', blocks (unsurprisingly) > and does not allow packets to go back and forth. I think I need > explicit selects/waits here to get the back and forth traffic. > Maybe there is a some way to leverage GHC's internal async I/O > but I'm not sure how to do it.
Maybe: forkIO two threads, one for the read end, one for the write end? I would use a loop over lazy I/O, also. G -- Gregory Collins <g...@gregorycollins.net> _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe