On 2012. April 28. Sat 14:33:32 Peter Lemenkov wrote:
> Hello All!
>
> Maybe it's time to release 1.4.3 while waiting for 1.5.0? It seems
> that 1.4 branch has quite big list of b/f on top of 1.4.2 (see "git
> cherry -v 1.4.2 origin/1.4" for the details).
Hi,
before that, could someone commit the 1.5 fix of AmCondition::wait_for_to() ?
Like this:
Index: AmThread.h
===================================================================
--- AmThread.h (revision 15789)
+++ AmThread.h (working copy)
@@ -167,6 +167,11 @@
timeout.tv_sec = now.tv_sec + (usec / 1000000);
timeout.tv_nsec = (now.tv_usec + (usec % 1000000)) * 1000;
+ if(timeout.tv_nsec >= 1000000000){
+ timeout.tv_sec++;
+ timeout.tv_nsec -= 1000000000;
+ }
+
pthread_mutex_lock(&m);
while(!t && !retcode){
retcode = pthread_cond_timedwait(&cond,&m, &timeout);
br
Szo
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev