Changeset c4c5de5 in mainline for libc/include/psthread.h


Ignore:
Timestamp:
2006-03-24T14:29:19Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8fe1cdb
Parents:
520492a
Message:

Completed support for TLS in GCC (modifier thread) for ia32,amd64,ia64 and mips.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libc/include/psthread.h

    r520492a rc4c5de5  
    3232#include <libarch/psthread.h>
    3333#include <libadt/list.h>
     34#include <libarch/thread.h>
    3435
    3536#ifndef context_set
     
    4344
    4445struct psthread_data {
    45         struct psthread_data *self; /* ia32, amd64 needs to get self address */
    46 
    4746        link_t link;
    4847        context_t ctx;
     
    5049        void *arg;
    5150        int (*func)(void *);
     51        tcb_t *tcb;
    5252
    5353        struct psthread_data *waiter;
     
    6464int psthread_schedule_next(void);
    6565int psthread_join(pstid_t psthrid);
     66psthread_data_t * psthread_setup(tcb_t *tcb);
     67void psthread_teardown(psthread_data_t *pt);
     68
    6669
    6770#endif
Note: See TracChangeset for help on using the changeset viewer.