Commit graph

3 commits

Author SHA1 Message Date
Anurag Kar f5e8e05282 pthread tests : test case added for detach functionality 2018-12-28 14:41:24 +05:30
Anton Maklakov 92caddb501 pthread: fix a type mismatch warning 2018-10-21 15:11:45 +08:00
Anurag Kar f27db1f241 pthread : Add support for attributes and few APIs
This introduces the following changes :
    * Implmentation added for pthread attribute related functions :
        * pthread_attr_init
        * pthread_attr_destroy
        * pthread_attr_setdetachstate
        * pthread_attr_getdetachstate
        * pthread_attr_getstacksize
        * pthread_attr_setstacksize
    * pthread_create now supports passing attributes/configs through pthread_attr_t structure
    * pthread_mutex_timedlock added
    * pthread_exit added
    * memory for joinable thread is freed before returning from pthread_join
2018-09-22 02:35:27 +05:30