Changeset 4f5edcf6 in mainline for uspace/lib/libc/generic/async.c


Ignore:
Timestamp:
2009-10-10T21:32:17Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f53cc81
Parents:
0772aff
Message:

Prepare awaiter_t for use outside of async.c.

File:
1 edited

Legend:

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

    r0772aff r4f5edcf6  
    9494#include <futex.h>
    9595#include <async.h>
     96#include <async_priv.h>
    9697#include <fibril.h>
    9798#include <stdio.h>
     
    109110/** Number of threads waiting for IPC in the kernel. */
    110111atomic_t threads_in_ipc_wait = { 0 };
    111 
    112 /** Structures of this type represent a waiting fibril. */
    113 typedef struct {
    114         /** Expiration time. */
    115         struct timeval expires;
    116        
    117         /** If true, this struct is in the timeout list. */
    118         bool inlist;
    119        
    120         /** Timeout list link. */
    121         link_t link;
    122        
    123         /** Identification of and link to the waiting fibril. */
    124         fid_t fid;
    125        
    126         /** If true, this fibril is currently active. */
    127         bool active;
    128        
    129         /** If true, we have timed out. */
    130         bool timedout;
    131 } awaiter_t;
    132112
    133113typedef struct {
Note: See TracChangeset for help on using the changeset viewer.