Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset b6ee5b1 in mainline


Ignore:
Timestamp:
2009-10-11T08:09:21Z (11 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
master
Children:
cadfa8e
Parents:
f53cc81
Message:

Rename insert_timeout() to async_insert_timeout() and make it a private global
interface.

Location:
uspace/lib/libc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/generic/async.c

    rf53cc81 rb6ee5b1  
    233233 *
    234234 */
    235 static void insert_timeout(awaiter_t *wd)
     235void async_insert_timeout(awaiter_t *wd)
    236236{
    237237        wd->to_event.occurred = false;
     
    393393        while (list_empty(&conn->msg_queue)) {
    394394                if (usecs)
    395                         insert_timeout(&conn->wdata);
     395                        async_insert_timeout(&conn->wdata);
    396396               
    397397                conn->wdata.active = false;
     
    916916        msg->wdata.fid = fibril_get_id();
    917917        msg->wdata.active = false;
    918         insert_timeout(&msg->wdata);
     918        async_insert_timeout(&msg->wdata);
    919919       
    920920        /* Leave the async_futex locked when entering this function */
     
    957957        futex_down(&async_futex);
    958958       
    959         insert_timeout(&msg->wdata);
     959        async_insert_timeout(&msg->wdata);
    960960       
    961961        /* Leave the async_futex locked when entering this function */
  • uspace/lib/libc/include/async_priv.h

    rf53cc81 rb6ee5b1  
    6868} awaiter_t;
    6969
     70extern void async_insert_timeout(awaiter_t *wd);
     71
    7072#endif
    7173
Note: See TracChangeset for help on using the changeset viewer.