Changeset 457 for trunk/libs/libpthread


Ignore:
Timestamp:
Aug 2, 2018, 11:47:13 AM (4 years ago)
Author:
alain
Message:

This version modifies the exec syscall and fixes a large number of small bugs.
The version number has been updated (0.1)

Location:
trunk/libs/libpthread
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/libs/libpthread/Makefile

    r445 r457  
    99endif
    1010
    11 SRCS = pthread.c
    12 
    13 OBJS = $(addprefix build/, $(SRCS:.c=.o)) \
     11OBJS = build/pthread.o                    \
    1412       $(HAL_ARCH)/build/core/hal_user.o
    1513
     
    3735
    3836headers: build
    39         cp $(SRCS:.c=.h)  build/include/.
     37        cp pthread.h  build/include/.
    4038
    4139
  • trunk/libs/libpthread/pthread.c

    r445 r457  
    11/*
    2  * pthread.c - User leve <pthread> library implementation.
     2 * pthread.c - User level <pthread> library implementation.
    33 *
    44 * Author     Alain Greiner (2016,2017,2018)
     
    2323
    2424#include <hal_user.h>
    25 #include <hal_types.h>
     25#include <hal_shared_types.h>
    2626#include <stdio.h>
    2727#include <stdlib.h>
    2828#include <pthread.h>
     29#include <shared_pthread.h>
    2930#include <almosmkh.h>
    3031#include <syscalls_numbers.h>
  • trunk/libs/libpthread/pthread.h

    r445 r457  
    2525#define _PTHREAD_H_
    2626
     27//////////////////////////////////////////////////////////////////////////////////////////////
     28//             POSIX Threads related functions (including barriers and mutexes)
     29//////////////////////////////////////////////////////////////////////////////////////////////
     30
    2731#include <shared_pthread.h>
    28 
    29 //////////////////////////////////////////////////////////////////////////////////////////////
    30 //             POSIX Threads related functions
    31 //////////////////////////////////////////////////////////////////////////////////////////////
    3232
    3333/*********************************************************************************************
Note: See TracChangeset for help on using the changeset viewer.