Changeset bc1f1c2 in mainline for uspace/lib/libc/include/async.h


Ignore:
Timestamp:
2007-06-28T00:54:12Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
12f91130
Parents:
b9641ee
Message:

Goodbye pseudo threads, welcome fibrils.
The renaming might still be incomplete.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/include/async.h

    rb9641ee rbc1f1c2  
    3737
    3838#include <ipc/ipc.h>
    39 #include <psthread.h>
     39#include <fibril.h>
    4040#include <sys/time.h>
    4141#include <atomic.h>
     
    4646static inline void async_manager(void)
    4747{
    48         psthread_schedule_next_adv(PS_TO_MANAGER);
     48        fibril_schedule_next_adv(FIBRIL_TO_MANAGER);
    4949}
    5050
     
    102102
    103103
    104 pstid_t async_new_connection(ipcarg_t in_phone_hash,ipc_callid_t callid,
     104fid_t async_new_connection(ipcarg_t in_phone_hash,ipc_callid_t callid,
    105105                             ipc_call_t *call,
    106106                             void (*cthread)(ipc_callid_t,ipc_call_t *));
     
    121121static inline void async_serialize_start(void)
    122122{
    123         psthread_inc_sercount();
     123        fibril_inc_sercount();
    124124}
    125125
    126126static inline void async_serialize_end(void)
    127127{
    128         psthread_dec_sercount();
     128        fibril_dec_sercount();
    129129}
    130130
Note: See TracChangeset for help on using the changeset viewer.