/* This function get the thread creation stacksize attribute in the attr object.  */
int pthread_attr_getstacksize(pthread_attr_t const *attr, size_t *stack_size)
/* This function get the thread creation stacksize attribute in the attr object.  */
int pthread_attr_getstacksize(pthread_attr_t const *attr, size_t *stack_size)
{
    RT_ASSERT(attr != RT_NULL);
    *stack_size = attr->stacksize;
    return 0;
}