Changeset 23882034 in mainline for uspace/lib/c
- Timestamp:
 - 2011-01-25T23:41:18Z (15 years ago)
 - Branches:
 - lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
 - Children:
 - b75e929
 - Parents:
 - 8526e585
 - Location:
 - uspace/lib/c
 - Files:
 - 
      
- 2 edited
 
- 
          
  generic/async.c (modified) (3 diffs)
 - 
          
  include/async.h (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
uspace/lib/c/generic/async.c
r8526e585 r23882034 151 151 sysarg_t in_phone_hash; 152 152 153 /** Link to the client tracking structure. */ 154 client_t *client; 155 153 156 /** Messages that should be delivered to this fibril. */ 154 157 link_t msg_queue; … … 191 194 { 192 195 async_client_data_destroy = dtor; 196 } 197 198 void *async_client_data_get(void) 199 { 200 assert(FIBRIL_connection); 201 202 return FIBRIL_connection->client->data; 193 203 } 194 204 … … 574 584 } 575 585 futex_up(&async_futex); 586 587 FIBRIL_connection->client = cl; 576 588 577 589 /*  - 
      
uspace/lib/c/include/async.h
r8526e585 r23882034 104 104 extern void async_set_client_data_constructor(async_client_data_ctor_t); 105 105 extern void async_set_client_data_destructor(async_client_data_dtor_t); 106 107 extern void *async_client_data_get(void); 106 108 107 109 extern void async_set_client_connection(async_client_conn_t);  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  