Changeset 085bd54 in mainline for libc/include/psthread.h


Ignore:
Timestamp:
2006-06-06T15:16:08Z (18 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
63bb83e
Parents:
d7eafd8
Message:

Revised ipc. Now it is preferrable to use only functions from async.h, they
take care of correct buffering, waiting for answers etc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libc/include/psthread.h

    rd7eafd8 r085bd54  
    4141#endif /* context_set */
    4242
     43#define PSTHREAD_SERIALIZED   1
     44
    4345typedef enum {
    4446        PS_TO_MANAGER,
    4547        PS_FROM_MANAGER,
    46         PS_PREEMPT
     48        PS_PREEMPT,
     49        PS_FROM_DEAD
    4750} pschange_type;
    4851
     
    7679void psthread_remove_manager(void);
    7780pstid_t psthread_get_id(void);
     81void psthread_inc_sercount(void);
     82void psthread_dec_sercount(void);
    7883
    7984static inline int psthread_schedule_next() {
Note: See TracChangeset for help on using the changeset viewer.