Changeset 5f97ef44 in mainline for uspace/drv/char


Ignore:
Timestamp:
2018-07-13T14:10:15Z (7 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e3787a0
Parents:
9912f49
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-07-13 14:08:57)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-07-13 14:10:15)
Message:

Sleep is more natural as part of the fibril API.
(the implementation will move later)

Location:
uspace/drv/char
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/char/ski-con/ski-con.c

    r9912f49 r5f97ef44  
    150150                }
    151151
    152                 async_usleep(POLL_INTERVAL);
     152                fibril_usleep(POLL_INTERVAL);
    153153        }
    154154
  • uspace/drv/char/sun4v-con/sun4v-con.c

    r9912f49 r5f97ef44  
    151151
    152152        while (con->input_buffer->read_ptr == con->input_buffer->write_ptr)
    153                 async_usleep(POLL_INTERVAL);
     153                fibril_usleep(POLL_INTERVAL);
    154154
    155155        p = 0;
Note: See TracChangeset for help on using the changeset viewer.