Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jan 1999 19:14:15 +1100 (EST)
From:      John Birrell  <jb@cimlogic.com.au>
To:        ks@itp.ac.ru (Sergey S. Kosyakov)
Cc:        jb@cimlogic.com.au, freebsd-hackers@FreeBSD.ORG
Subject:   Re: select and threads again
Message-ID:  <199901290814.TAA13146@cimlogic.com.au>
In-Reply-To: <XFMail.990129110621.ks@itp.ac.ru> from "Sergey S. Kosyakov" at "Jan 29, 1999 11: 6:21 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Sergey S. Kosyakov wrote:
> Thank you for your quick answer. But there is problem with ILU I trying to
> solve. For each operation on each TCP socket ILU starts new thread, which
> inturn calls select(). I trace this processes and found that if two threads in
> the same time calls select (with timeout=infinity) on different sockets that
> only the last thread stays operational. The first thread hangs forever on
> select(). May be there are some underwater stones? I compile and link ILU with
> "cc -g -pthread", nothing more.

I have applications (including one I'm working on) that do this a *lot*.
It works for me.

-- 
John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/
CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901290814.TAA13146>