Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <41DD5F8C.9080200@x-ray.at> Date: Thu, 06 Jan 2005 16:55:56 +0100 From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7) Gecko/20040616 MIME-Version: 1.0 To: claude DOT roblez AT free DOT fr CC: cygwin AT cygwin DOT com Subject: Re: timer_create / POSIX non conformance ? References: <1105019442 DOT 41dd4232c0e7b AT imp1-q DOT free DOT fr> In-Reply-To: <1105019442.41dd4232c0e7b@imp1-q.free.fr> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes claude DOT roblez AT free DOT fr schrieb: > The problem appears with the [timer_create] function called with a [sigevent] > structure having its [sigev_notify] member set to [SIGEV_THREAD]. > In this case, the function pointed to by the [sigev_notify_function] member is > prototyped [void(*)(union sigval)] and should receive the [sigev_value] member. > (according to "The Open Group Base Specifications Issue 6 IEEE Std 1003.1, 2004 > Edition") ... > The last argument: [&tt.evp.sigev_value] is probably wrong (passing an address) Whow! Good catch. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/