Changeset 35509652 in mainline for libc/generic/libc.c


Ignore:
Timestamp:
2006-05-16T11:05:18Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
450cd3a
Parents:
c2b43de
Message:

Make IPC thread safe.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libc/generic/libc.c

    rc2b43de r35509652  
    3333#include <psthread.h>
    3434
     35/* We should probably merge libc and libipc together */
     36extern void _ipc_init(void);
     37
    3538void _exit(int status) {
    3639        thread_exit(status);
    3740}
    3841
    39 #include <stdio.h>
    4042void __main(void) {
    4143        tcb_t *tcb;
     
    4446        __tcb_set(tcb);
    4547        psthread_setup(tcb);
     48        _ipc_init();
    4649}
    4750
Note: See TracChangeset for help on using the changeset viewer.