Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: "Ivan Begtin" <ivbegtin@ru.ru>
Subject: Problem with pthreads
To: cygwin@cygwin.com
X-Mailer: CommuniGate Pro Web Mailer v.3.3.1
Date: Fri, 05 Jan 2001 21:03:16 +0300
Message-ID: <web-5923636@backend2.aha.ru>
MIME-Version: 1.0
Content-Type: text/plain; charset="KOI8-R"
Content-Transfer-Encoding: 8bit

  My problem is that I try to use pthreads in Cygwin. I
wrote simple multithreaded portscanner. It open number of
connections by threads. I am using 10 parallel threads.
I don't know is it lack of my knowledge in multithreaded
programming or problem of Cygwin but my program don't
release used handlers. I monitored it with  Task Manager
during work of program.
For example then I scan ports from from 1 to any greater 
(about 120-128) it fail at (about 120-128) port. I am going
to use threads in some my programs, this portscanner is just
example. 
  If you need I can send you my sources and binary. 

  (Sorry for my english).

        Ivan Begtin.
Get your free e-mail address at http://www.zmail.ru

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

