Changeset 14de0dd8 in mainline


Ignore:
Timestamp:
2006-10-30T22:43:41Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1b43a04
Parents:
3e35fd7
Message:

Textual changes.

File:
1 edited

Legend:

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

    r3e35fd7 r14de0dd8  
    3737 *
    3838 * The aim of this library is facilitating writing programs utilizing
    39  * the asynchronous nature of Helenos IPC, yet using a normal way
     39 * the asynchronous nature of HelenOS IPC, yet using a normal way
    4040 * of programming.
    4141 *
     
    8080 *       callid = async_get_call(&call);
    8181 *       handle(callid, call);
    82  *       ipc_answer_fast(callid, 1,2,3);
     82 *       ipc_answer_fast(callid, 1, 2, 3);
    8383 *
    8484 *       callid = async_get_call(&call);
     
    105105
    106106typedef struct {
    107         struct timeval expires;      /**< Expiration time for waiting thread */
    108         int inlist;             /**< If true, this struct is in timeout list */
     107        struct timeval expires;         /**< Expiration time for waiting thread */
     108        int inlist;                     /**< If true, this struct is in timeout list */
    109109        link_t link;
    110110
    111         pstid_t ptid;                /**< Thread waiting for this message */
    112         int active;                  /**< If this thread is currently active */
    113         int timedout;                /**< If true, we timed out */
     111        pstid_t ptid;                   /**< Thread waiting for this message */
     112        int active;                     /**< If this thread is currently active */
     113        int timedout;                   /**< If true, we timed out */
    114114} awaiter_t;
    115115
     
    117117        awaiter_t wdata;
    118118
    119         int done;                    /**< If reply was received */
    120         ipc_call_t *dataptr;         /**< Pointer where the answer data
    121                                       *   is stored */
     119        int done;                       /**< If reply was received */
     120        ipc_call_t *dataptr;            /**< Pointer where the answer data
     121                                          *   is stored */
    122122        ipcarg_t retval;
    123123} amsg_t;
     
    132132        awaiter_t wdata;
    133133
    134         link_t link;             /**< Hash table link */
    135         ipcarg_t in_phone_hash;  /**< Incoming phone hash. */
    136         link_t msg_queue;        /**< Messages that should be delivered to this thread */
     134        link_t link;                    /**< Hash table link */
     135        ipcarg_t in_phone_hash;         /**< Incoming phone hash. */
     136        link_t msg_queue;               /**< Messages that should be delivered to this thread */
    137137        /* Structures for connection opening packet */
    138138        ipc_callid_t callid;
    139139        ipc_call_t call;
    140         ipc_callid_t close_callid; /* Identification of closing packet */
     140        ipc_callid_t close_callid;      /* Identification of closing packet */
    141141        void (*cthread)(ipc_callid_t,ipc_call_t *);
    142142} connection_t;
Note: See TracChangeset for help on using the changeset viewer.