Re: redmond event loop

[email protected] (Nick Ing-Simmons)
Newsgroups perl.loop
Organization via, but not speaking for : Texas Instruments Ltd.
Message-ID <[email protected]>
Uri Guttman <[email protected]> writes:
>nick and/or joshua,
>
>what is the possibility of a win2k/nt event loop that i could use for
>stem? i have a potential customer with many unix boxes but unfortunately
>redmond also is in the picture. joshua has stated it wouldn't be too
>hard (??) to move event.pm to winblows. what about the perl/tk event
>loop? i am under the impression it works under winblows. 

The Tk event loop works (after a fashion) on Win32 and is a 
self-contained XS module Tk::Event (Tk uses Tk::Event rather than 
vice versa). The snag is that 'fileevent' is seriously flawed on 
Win32 - e.g. you cannot wait for a 'listen' socket to be readable,
nor on pipes, nor console. Basically only 'data' sockets work.
The PerlIO stuff is intended to allow that to be fixed the same 
way Tcl/Tk fixed it - by using per-handle versions of read() etc. 
rather than C run-times flawed faking of UNIX semantics.


>could i use it
>standalone or in a minimal way without any graphics stuff? my event
>objects totally hide any underlying event system from view so it would
>be easy to integrate any other event subsystem.
>
>any comments or thoughts are welcome here. condolences are welcome
>too. i wanted to keep stem a pure unix system for a while but if this
>big potential customer buys in, i have to support redmond asap.
>
>thanx,
>
>uri
-- 
Nick Ing-Simmons <[email protected]>
Via, but not speaking for: Texas Instruments Ltd.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.