time to ticks converter optimization in pthread_cond_timedwait

Wade Jensen waj4news@cox.net
Mon Oct 14 13:43:00 GMT 2002


Hello,

Here is a patch that makes a simple optimization in pthread_cond_timedwait.  It will only initialize the time to ticks converters on the first call the same way that is done many other places in the code.  It greatly improves the speed of the pthread_cond_timedwait function.

Thanks,
Wade
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourceware.org/pipermail/ecos-devel/attachments/20021014/400213a1/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.converter_optimization
Type: application/octet-stream
Size: 1828 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-devel/attachments/20021014/400213a1/attachment.obj>


More information about the Ecos-devel mailing list