Changeset 5a6cc679 in mainline for kernel/generic/src/synch/waitq.c


Ignore:
Timestamp:
2018-01-31T02:21:24Z (8 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a0a9cc2
Parents:
132ab5d1
Message:

Merge commit '50f19b7ee8e94570b5c63896736c4eb49cfa18db' into forwardport

Not all ints are converted to errno_t in xhci tree yet, however it compiles and works :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/synch/waitq.c

    r132ab5d1 r5a6cc679  
    268268 *
    269269 */
    270 int waitq_sleep_timeout(waitq_t *wq, uint32_t usec, unsigned int flags, bool *blocked)
     270errno_t waitq_sleep_timeout(waitq_t *wq, uint32_t usec, unsigned int flags, bool *blocked)
    271271{
    272272        assert((!PREEMPTION_DISABLED) || (PARAM_NON_BLOCKING(flags, usec)));
     
    274274        ipl_t ipl = waitq_sleep_prepare(wq);
    275275        bool nblocked;
    276         int rc = waitq_sleep_timeout_unsafe(wq, usec, flags, &nblocked);
     276        errno_t rc = waitq_sleep_timeout_unsafe(wq, usec, flags, &nblocked);
    277277        waitq_sleep_finish(wq, nblocked, ipl);
    278278
     
    373373 *
    374374 */
    375 int waitq_sleep_timeout_unsafe(waitq_t *wq, uint32_t usec, unsigned int flags, bool *blocked)
     375errno_t waitq_sleep_timeout_unsafe(waitq_t *wq, uint32_t usec, unsigned int flags, bool *blocked)
    376376{
    377377        *blocked = false;
Note: See TracChangeset for help on using the changeset viewer.