Ignore:
Timestamp:
2013-10-16T16:09:14Z (12 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2923c7b
Parents:
c2a6983
Message:

Add not-implemented warnings to pthread functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/source/pthread/threads.c

    rc2a6983 r12d6c98  
    4040#include "posix/stdlib.h"
    4141#include "libc/thread.h"
     42#include "../internal/common.h"
    4243
    4344pthread_t pthread_self(void)
     
    5455    void *(*start_routine)(void *), void *arg)
    5556{
     57        not_implemented();
    5658        return ENOTSUP;
    5759}
     
    5961int pthread_join(pthread_t thread, void **ret_val)
    6062{
     63        not_implemented();
    6164        return ENOTSUP;
    6265}
     
    6467int pthread_detach(pthread_t thread)
    6568{
     69        not_implemented();
    6670        return ENOTSUP;
    6771}
     
    6973int pthread_attr_init(pthread_attr_t *attr)
    7074{
     75        not_implemented();
    7176        return ENOTSUP;
    7277}
     
    7479int pthread_attr_destroy(pthread_attr_t *attr)
    7580{
     81        not_implemented();
    7682        return ENOTSUP;
    7783}
Note: See TracChangeset for help on using the changeset viewer.