| www.delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin-developers/> |
| List-Post: | <mailto:cygwin-developers AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-developers-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin-developers AT sources DOT redhat DOT com |
| content-class: | urn:content-classes:message |
| Subject: | RE: pthread_kill prototype |
| MIME-Version: | 1.0 |
| Date: | Wed, 21 Mar 2001 12:20:24 +1100 |
| X-MimeOLE: | Produced By Microsoft Exchange V6.0.4417.0 |
| Message-ID: | <EA18B9FA0FE4194AA2B4CDB91F73C0EF02E272@itdomain002.itdomain.net.au> |
| Thread-Topic: | pthread_kill prototype |
| Thread-Index: | AcCxo3+RMkkijR1FEdW0GQBgCC5/aAAAJOFA |
| From: | "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au> |
| To: | <nhv AT cape DOT com> |
| Cc: | <cygwin-developers AT cygwin DOT com> |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id UAA03584 |
Norman, if you use reply to all, it'll get to the mailing list. > -----Original Message----- > From: Norman Vine [mailto:nhv AT cape DOT com] > Sent: Wednesday, March 21, 2001 12:09 PM > To: Robert Collins > Subject: RE: pthread_kill prototype > > > Robert Collins writes: > >> > >> AFAICT, you're the first person to actually try to use the pthread > >> stuff and make it work correctly. If Cygwin's implementation > >> was wrong > >> then I don't see how any programs could be ported to it. > >> > >> cgf > >> > > > >Well someone may have done > >#ifdef __CYGWIN__ > > pthread_kill(&var,sig) > >#else > > pthread_kill(var,sig) > >#endif > > 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 > > I have worked around this before with some nasty hacks > but since Robert was redoing the package anyway I thought > it was an opportune time to bring this up. Are you up to rebuilding those pacakges? I will be breaking the ABI by fixing this - and it will be fixed this week. _POSIX_THREADS is referred to by http://www.opengroup.org/onlinepubs/007908799/xsh/threads.html as being present on XSI systems. Now as I don't know what an XSI system is, I wonder why _POSIX_THREADS showed up for you? I will be defining some of those symbols as I go along, but until I get the time to find a full blown pthreads test suite that'll run under cygwin... (Norman if you've got some interest.. hint hint) Rob > > Cheers > > Norman Vine > > >
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |