www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/04/16/00:23:02

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: Nonblocking serial reads
16 Apr 1998 00:23:02 -0700 :
Message-ID: <01BD692A.3D7B5E00.cygnus.cygwin32.developers@drs>
To: "cygwin32-developers AT cygnus DOT com" <cygwin32-developers AT cygnus DOT com>,
"noer AT cygnus DOT com" <noer AT cygnus DOT com>,
"'Christopher Faylor'"
<cgf AT cygnus DOT com>
Cc: "keiths AT cygnus DOT com" <keiths AT cygnus DOT com>

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.

--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia.

- Raw text -


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