delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/04/16/18:54:11

From: cgf AT kramden DOT cygnus DOT com (Christopher G. Faylor)
Subject: Re: Nonblocking serial reads
16 Apr 1998 18:54:11 GMT :
Message-ID: <6h5k4j$hf3$1@cronkite.cygnus.com>
References: <01BD692A DOT 3D7B5E00 DOT cygnus DOT cygwin32 DOT developers AT drs>
X-Newsreader: trn 4.0-test63 (15 March 1998)

In article <01BD692A DOT 3D7B5E00 DOT cygnus DOT cygwin32 DOT developers AT drs>,
Sergey Okhapkin <sos AT prospect DOT com DOT ru> wrote:
>Christopher Faylor wrote:
>> I do all I/O from a separate thread, killing the thread if there is a
>> signal which should interrupt the I/O.
>>
>
>According to MS docs, TerminateThread() call not releases reservation of 
>addres space for thread's stack. After several 
>CreateThread/TerminateThread() you'll run out of virtual address space.

I'll be sure to take that into account in the final patch.  Thanks.
-- 
cgf AT cygnus DOT com             "Everything has a boolean value, if you stand
http://www.cygnus.com/      far enough away from it."  -- Galena Alyson Canada

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019