This is the mail archive of the ecos-devel@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

time to ticks converter optimization in pthread_cond_timedwait


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
 

Attachment: patch.converter_optimization
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]