Re: Debugging mod_websocket -- any others out there?

2015-02-26 Thread Eric Covener
On Tue, Feb 24, 2015 at 7:16 PM, Jacob Champion wrote: > - Is it even possible/safe to do an asynchronous "one thread reads, one > thread writes" operation in a production-quality module? (In other > words, is mod_websocket just unfixably broken?) You might check out how mod_spdy shares a connect

Re: Debugging mod_websocket -- any others out there?

2015-02-26 Thread Jacob Champion
On 2/26/2015 7:23 AM, Eric Covener wrote: > You might check out how mod_spdy shares a connection between threads. Hi Eric, thanks for the suggestion! mod_spdy is interesting; IIUC, the logic is basically output_block_time = 1 ms while (not stopped) { // Input cycle if no

Re: Debugging mod_websocket -- any others out there?

2015-02-26 Thread Jacob Champion
On 2/25/2015 6:35 PM, Alex Bligh wrote: > 2 x apr_file_pipe_create ? I also found APR_POLLSET_WAKEABLE and apr_pollset_wakeup(), which appear to encapsulate the self-pipe into the pollset itself. Here's hoping it's implemented for _most_ platforms...? Jacob Champion LabVIEW R&D National Instrume