shkolnick-kun / bugurtos

Breaking backward compatibility since 2010!!!
GNU General Public License v3.0
129 stars 9 forks source link

Missed owner wakeup in sync_sleep. #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When process blocks on sync_t onject it must launch sunc_t object owner in 
certain cases:
1. if sync_t object is durty;
2. and/or if sync_t object prio has changed;
3. or if sync_t object owner is in PROC_STATE_SYNC_WAIT
Last case was missed in 0.8.0 release.

As a result sync_t object owner was not launched in PROC_STATE_SYNC_WAIT and 
when there were no dirty priority inheritance transactions and no change in 
sync_t object priority.

The bug has been fixed in svn.

Original issue reported on code.google.com by shkolnic...@gmail.com on 28 Feb 2015 at 12:20