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/condvar.c

    rc2a6983 r12d6c98  
    3838#include "posix/pthread.h"
    3939#include "errno.h"
     40#include "../internal/common.h"
    4041
    4142int pthread_cond_init(pthread_cond_t *restrict condvar,
    4243    const pthread_condattr_t *restrict attr)
    4344{
     45        not_implemented();
    4446        return ENOTSUP;
    4547}
     
    4749int pthread_cond_destroy(pthread_cond_t *condvar)
    4850{
     51        not_implemented();
    4952        return ENOTSUP;
    5053}
     
    5255int pthread_cond_broadcast(pthread_cond_t *condvar)
    5356{
     57        not_implemented();
    5458        return ENOTSUP;
    5559}
     
    5761int pthread_cond_signal(pthread_cond_t *condvar)
    5862{
     63        not_implemented();
    5964        return ENOTSUP;
    6065}
     
    6368    pthread_mutex_t *restrict mutex, const struct __POSIX_DEF__(timespec) *restrict timeout)
    6469{
     70        not_implemented();
    6571        return ENOTSUP;
    6672}
     
    6975    pthread_mutex_t *restrict mutex)
    7076{
     77        not_implemented();
    7178        return ENOTSUP;
    7279}
     
    7582int pthread_condattr_init(pthread_condattr_t *attr)
    7683{
     84        not_implemented();
    7785        return ENOTSUP;
    7886}
     
    8088int pthread_condattr_destroy(pthread_condattr_t *attr)
    8189{
     90        not_implemented();
    8291        return ENOTSUP;
    8392}
Note: See TracChangeset for help on using the changeset viewer.