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 sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com From: "Paul K. Fisher" To: "Cygwin Developers" Subject: Incorrect prototypes for some pthread functions Date: Sun, 7 May 2000 20:37:21 -0500 Message-ID: <000901bfb88d$f4333780$6401a8c0@jupiter> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal Greetings. Just joined the list, and second time I am posting. Overall I am looking into pthread support. Now on to the question. I have found that some of the prototypes for the pthreads functions appear to be incorrect. For example, pthread_kill is prototyped as: int pthread_kill( pthread_t * thread, int sig ); and it seems that it should be: int pthread_kill( pthread_t thread, int sig ); Of course, this probably still works, but causes a compilation warning. There are several other cases of where this occurs. Any reason for this. I am referring to the UNIX 98 spec as a reference. Is there something else to which this has been implemented? If these are really incorrect, I will submit a patch. thanks, paul