Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Date: Tue, 20 Mar 2001 20:47:05 -0500 From: Christopher Faylor To: cygwin-developers AT cygwin DOT com Subject: Re: pthread_kill prototype Message-ID: <20010320204705.F1778@redhat.com> Reply-To: cygwin-developers AT cygwin DOT com Mail-Followup-To: cygwin-developers AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: ; from robert.collins@itdomain.com.au on Wed, Mar 21, 2001 at 12:29:48PM +1100 On Wed, Mar 21, 2001 at 12:29:48PM +1100, Robert Collins wrote: > >> -----Original Message----- >> From: Christopher Faylor [mailto:cgf AT redhat DOT com] >> Sent: Wednesday, March 21, 2001 12:33 PM >> To: cygwin-developers AT cygwin DOT com >> Subject: Re: pthread_kill prototype >> >> >> On Wed, Mar 21, 2001 at 12:20:24PM +1100, Robert Collins wrote: >> >> actually this is only a problem when >> >> #if defined(_POSIX_THREADS) >> >> >> >> which I do not believe is defined anywhere in Cygwin >> >> so may never have beem picked up before >> >> Someone asked recently if this should be done. Since I don't >> know much about pthreads, I didn't know how to respond. >> >> If it makes sense to define _POSIX_PTHREADS (and it sounds >> like it does) >> for Cygwin, I'll add that as a define for gcc 2.95.3. > >Not yet! _POSIX_THREADS means that the system supports a certain list of >functions and symbols. We don't support that list yet. When we have >enough support, I'll be sure to ask for _POSIX_THREADS (and about 6 >other related symbols). I would hate to get into a situation where I have to make a new release of gcc to accomodate this, though. I see that this is defined in a header controlled by unistd.h on linux, though, so maybe that is how this should be handled, anyway. cgf