• L
    fix(posix接口融合): posix接口融合,接口规范兼容性修改 · 4b607fd0
    LiteOS2021 提交于
    posix接口融合,接口规范兼容性修改
    
    BREAKING CHANGE:
    接口修改:
    calloc
    pthread_mutex_init
    mq_unlink
    pthread_join
    pthread_exit
    pthread_attr_init
    pthread_attr_destroy
    pthread_condattr_destroy
    pthread_cond_timedwait
    pthread_mutexattr_init
    pthread_mutexattr_settype
    pthread_mutex_destroy
    pthread_mutex_timedlock
    pthread_mutex_trylockk
    pthread_mutex_unlock
    sem_getvalue
    sem_timedwait
    pthread_cond_timedwait
    nanosleep
    timer_create
    timer_settime
    timer_gettime
    testStdlibStrtoull005
    testStdlibStrtol011
    testStdlibStrtoul007
    testPthread004
    
    新增接口:
    CheckForCancel
    pthread_setcancelstate
    pthread_setcanceltype
    pthread_once
    pthread_setschedprio
    pthread_attr_setstack
    pthread_attr_getstack
    pthread_condattr_getpshared
    pthread_condattr_setpshared
    pthread_condattr_getclock
    pthread_mutexattr_gettype
    CheckMutexAttr
    OsMuxPreCheck
    sem_trywait
    MuxPendForPosix
    MuxPostForPosix
    增加overrun功能
    
    接口变化:
    mq_getsetattr 改为内部接口MqGetSetAttr
    GetTickTimeFromNow->OsGetTickTimeFromNow
    
    接口位置转移:
    pthread_equal接口由newlib下转移到kal/posix/src/pthread.c中
    Signed-off-by: NLiteOS2021 <dinglu@huawei.com>
    4b607fd0
pthread_attr.c 7.1 KB