gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Gcl-devel] Re: a few questions about the status and direction ofGCL


From: Mike Thomas
Subject: RE: [Gcl-devel] Re: a few questions about the status and direction ofGCL
Date: Tue, 23 Nov 2004 12:05:26 +1000

Hi Camm.

| Select based multitasking a la cmucl is a simple
| addition.

Not necessarily on Windows as there is no select.  I don't personally have
experience with this kind of concurrency, but the Windows way involves a
function called WaitForMultipleObjects():

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/bas
e/waitformultipleobjects.asp

But I believe that this pre-supposes a multithreaded environment to start
with and probably will require a reexamination of the use of CRT file
descriptors versus Windows HANDLEs for referring to files, pipes etc.  Lots
of work and more cross platform code divergence.

Another alternative might be pthreads, for which a Win32 subset exists.
This is potentially tricky if there are semantic differences between the
Unix and Windows versions of pthreads (usually are with Unix emulation
libraries I have seen).

Cheers

Mike Thomas.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]