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 Reply-To: From: "Norman Vine" To: "'Robert Collins'" Cc: Subject: RE: pthread_kill prototype Date: Tue, 20 Mar 2001 21:20:56 -0500 Message-ID: <000f01c0b1ad$9040d380$a300a8c0@nhv> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0010_01C0B183.A76ACB80" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2232.26 In-Reply-To: X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal X-MS-TNEF-Correlator: 00000000BFF1010FDDEEBC11A127BA7D7310634CE4EF0101 This is a multi-part message in MIME format. ------=_NextPart_000_0010_01C0B183.A76ACB80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Robert Collins writes: Norman Vine [mailto:nhv AT cape DOT com] wrote: >> >> >> > >> >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? Python uses _POSIX_THREADS to distinguish pthreads from other possible thread implementations >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) It doesn't have a full blown test suite but GNU PTH has a fully POXIX compilent pthread package that compiles and seems to run just fine with Cygwin Cheers Norman Vine ------=_NextPart_000_0010_01C0B183.A76ACB80 Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="winmail.dat" eJ8+IjkCAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEGgAMADgAAANEHAwAUABUAFAAAAAIAGgEB A5AGAEQJAAArAAAACwACAAEAAAALACMAAAAAAAMAJgAAAAAACwApAAAAAAALACsAAAAAAAMALgAA AAAAAwA2AAAAAAAeAHAAAQAAABcAAABwdGhyZWFkX2tpbGwgcHJvdG90eXBlAAACAXEAAQAAABYA AAABwLGtj5EySSKgHUUR1bQZAGAILn9oAAACAR0MAQAAABIAAABTTVRQOk5IVkBDQVBFLkNPTQAA AAsAAQ4AAAAAQAAGDgBICm6tscABAgEKDgEAAAAYAAAAAAAAAL/xAQ/d7rwRoSe6fXMQY0xiiQAA AwAUDgEAAAALAB8OAQAAAAMABhC/dPtYAwAHEA4EAAAeAAgQAQAAAGUAAABST0JFUlRDT0xMSU5T V1JJVEVTOk5PUk1BTlZJTkVNQUlMVE86TkhWQENBUEVDT01XUk9URTpXRUxMU09NRU9ORU1BWUhB VkVET05FI0lGREVGQ1lHV0lOUFRIUkVBREtJTEwoAAAAAAIBCRABAAAAlAQAAJAEAAA3BwAATFpG daeOqUYDAAoAcmNwZzEyNeIyA0N0ZXgFQQEDAff/CoACpAPkBxMCgA/zAFAEVj8IVQeyESUOUQMB AgBjaOEKwHNldDIGAAbDESX2MwRGE7cwEiwRMwjvCfe2OxgfDjA1ESIMYGMAULMLCQFkMzYWUAun YwEwnQfxYgSQBUAIUGxsC4DNBCB3BRAOsHM6CqIKhC8KgAewBbADglYLgGUgBlsAwAMQdG86bmiA dkBjYXBlLgWgNG1dHhFvDrAehT4+niAiQQrjI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