Changeset e498a45 in mainline


Ignore:
Timestamp:
2018-07-05T21:41:20Z (6 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
88e2c82
Parents:
da0cf6ac
git-author:
Dzejrou <dzejrou@…> (2018-03-30 13:49:23)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:20)
Message:

cpp: fixed return type of condvar::wait_for

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/include/internal/thread.hpp

    rda0cf6ac re498a45  
    131131            }
    132132
    133             static void wait_for(condvar_type& cv, mutex_type& mtx, time_unit timeout)
    134             {
    135                 fibril_condvar_wait_timeout(&cv, &mtx, timeout);
     133            static int wait_for(condvar_type& cv, mutex_type& mtx, time_unit timeout)
     134            {
     135                return fibril_condvar_wait_timeout(&cv, &mtx, timeout);
    136136            }
    137137
Note: See TracChangeset for help on using the changeset viewer.