Search Results

Search: Posts Made By: ramestica
Forum: Programming 09-28-2010
6,612
Posted By ramestica
I see. So, the sole presence in my environment of...
I see. So, the sole presence in my environment of functions like clock_gettime should suggest to me that the 'Timers option' is actually available indeed and, therefore, something like this:
...
Forum: Programming 09-27-2010
6,612
Posted By ramestica
run time misbehavior. it did timeout much before...
run time misbehavior. it did timeout much before the absolute time passed as parameter.

ps: something strange here. in my browser I read that your first reply says 'clock_gettime', but in the...
Forum: Programming 09-27-2010
6,612
Posted By ramestica
but that does not help me understand the...
but that does not help me understand the statement in the pthread_mutex_timedlock man-page. All the examples I have seen around they use clock_gettime with option CLOCK_REALTIME before calling...
Forum: Programming 09-27-2010
6,612
Posted By ramestica
pthread_mutex_timedlock and Timers option
in its man-page pthread_mutex_timedlock documents that the absolute timeout parameter should be based on the CLOCK_REALTIME clock or in the system clock. All this depending on whether the 'Timers...
Forum: Programming 07-04-2010
6,492
Posted By ramestica
i see that your understanding is then the same as...
i see that your understanding is then the same as mine.

realizing this detail in pthread (at least for the implementation i'm using) was a bit of a surprise. i try to use timed calls (pass...
Forum: Programming 07-04-2010
6,492
Posted By ramestica
linux, glibc 2.5 Right, before waiting on a...
linux, glibc 2.5

Right, before waiting on a conditional variable you must hold the mutex. But once within the 'wait' method itself the mutex will be released while waiting on the conditional...
Forum: Programming 07-02-2010
6,492
Posted By ramestica
pthread_cond_timedwait relocks forever
looking in pthread's source code I can see that as an epilogue both pthread_cond_timedwait and pthread_cond_wait will try to relock the mutex by means of __pthread_mutex_cond_lock.

Does this mean...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 01:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy