Reading without process blocking

Ug. Ok. So, how are people handling the console in Windows ruby programs,
when using threads? Because my software is actually running under Linux, it
isnt a showstopper for me, but it is making development more difficult. Am
I supposed to communicate through a socket to do “console” io or something?

Take Care,

Mark

P.S. If I had even the slightest idea how to do it, I would try to write a
C extension to handle this. Sigh.

···

-----Original Message-----
From: nobu.nokada@softhome.net [mailto:nobu.nokada@softhome.net]
Sent: 14 August 2002 01:01
To: ruby-talk@ruby-lang.org
Subject: Re: reading without process blocking.

Hi,

At Mon, 12 Aug 2002 21:16:10 +0900, Firestone, Mark - Technical Support mark.firestone@gossgraphic.co.uk wrote:

This may have come up before. This blocks all my processes when running
as
a thread under windows. Am I stuck just using Linux (which the program
actually runs under) or is there another way? I can live with just using
linux, but it is a pain, and I wanted to keep this program multi-platform?

It’s one of implementation issues under Windows. See the thread from
[ruby-talk:45948].


Nobu Nakada

NOTICE: This e-mail and any attachment(s) may contain confidential and
proprietary information of Goss International Corporation and/or its
subsidiaries and may be legally privileged. This e-mail is intended solely
for the addressee. If you are not the addressee, dissemination, copying or
other use of this e-mail or any of its content is strictly prohibited and
may be unlawful. If you are not the intended recipient please inform the
sender immediately and destroy the e-mail and any copies. All liability for
viruses is excluded to the fullest extent permitted by law. Any views
expressed in this message are those of the individual sender. No contract
may be construed by this e-mail.