public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] pthread_cond_timedwait() and absolute time?
@ 2002-06-19  9:05 Carsten Andersen
  2002-06-20 15:46 ` Nick Garnett
  0 siblings, 1 reply; 3+ messages in thread
From: Carsten Andersen @ 2002-06-19  9:05 UTC (permalink / raw)
  To: 'ecos-discuss@sources.redhat.com'

The pthread_cond_timedwait() function's 3rd parameter is a timespec
structure containing absolute time. The clock_gettime() function does not
support TIMER_ABSTIME. So how do I get hold of the absolute time that the
pthread_cond_timedwait() function wants? I've tried to use the
CLOCK_REALTIME id instead (and adding my delta time), but that doesn't work
properly when used in the pthread_cond_timedwait() function?


**********************************************************************
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential 
and/or privileged material. 
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by 
persons or entities other than the intended recipient is 
prohibited.  
If you received this in error, please contact the sender and 
delete the material from any computer.
**********************************************************************

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <AE087AD7160474448283E09975B1161A4BFB6F@exchange01.csr.com>]

end of thread, other threads:[~2002-06-21 18:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-19  9:05 [ECOS] pthread_cond_timedwait() and absolute time? Carsten Andersen
2002-06-20 15:46 ` Nick Garnett
     [not found] <AE087AD7160474448283E09975B1161A4BFB6F@exchange01.csr.com>
2002-06-21 12:10 ` Nick Garnett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).