libc/pthread: Rename long files so that they are more readable
This commit is contained in:
parent
8dd2494407
commit
14e06a3ce3
@ -35,23 +35,23 @@
|
||||
|
||||
# Add the pthread C files to the build
|
||||
|
||||
CSRCS += pthread_attrinit.c pthread_attrdestroy.c \
|
||||
pthread_attrsetschedpolicy.c pthread_attrgetschedpolicy.c \
|
||||
pthread_attrsetinheritsched.c pthread_attrgetinheritsched.c \
|
||||
pthread_attrsetstacksize.c pthread_attrgetstacksize.c \
|
||||
pthread_attrsetschedparam.c pthread_attrgetschedparam.c \
|
||||
pthread_barrierattrinit.c pthread_barrierattrdestroy.c \
|
||||
pthread_barrierattrgetpshared.c pthread_barrierattrsetpshared.c \
|
||||
pthread_condattrinit.c pthread_condattrdestroy.c \
|
||||
pthread_mutexattrinit.c pthread_mutexattrdestroy.c \
|
||||
pthread_mutexattrgetpshared.c pthread_mutexattrsetpshared.c
|
||||
CSRCS += pthread_attr_init.c pthread_attr_destroy.c \
|
||||
pthread_attr_setschedpolicy.c pthread_attr_getschedpolicy.c \
|
||||
pthread_attr_setinheritsched.c pthread_attr_getinheritsched.c \
|
||||
pthread_attr_setstacksize.c pthread_attr_getstacksize.c \
|
||||
pthread_attr_setschedparam.c pthread_attr_getschedparam.c \
|
||||
pthread_barrierattr_init.c pthread_barrierattr_destroy.c \
|
||||
pthread_barrierattr_getpshared.c pthread_barrierattr_setpshared.c \
|
||||
pthread_condattr_init.c pthread_condattr_destroy.c \
|
||||
pthread_mutexattr_init.c pthread_mutexattr_destroy.c \
|
||||
pthread_mutexattr_getpshared.c pthread_mutexattr_setpshared.c
|
||||
|
||||
ifeq ($(CONFIG_SMP),y)
|
||||
CSRCS += pthread_attrgetaffinity.c pthread_attrsetaffinity.c
|
||||
CSRCS += pthread_attr_getaffinity.c pthread_attr_setaffinity.c
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_MUTEX_TYPES),y)
|
||||
CSRCS += pthread_mutexattrsettype.c pthread_mutexattrgettype.c
|
||||
CSRCS += pthread_mutexattr_settype.c pthread_mutexattr_gettype.c
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_BUILD_PROTECTED),y)
|
||||
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* libc/pthread/pthread_attrdestroy.c
|
||||
* libc/pthread/pthread_attr_destroy.c
|
||||
*
|
||||
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* libc/pthread/pthread_attrgetaffinity.c
|
||||
* libc/pthread/pthread_attr_getaffinity.c
|
||||
*
|
||||
* Copyright (C) 2016 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* libc/pthread/pthread_attrgetinheritsched.c
|
||||
* libc/pthread/pthread_attr_getinheritsched.c
|
||||
*
|
||||
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* libc/pthread/pthread_attrgetschedparam.c
|
||||
* libc/pthread/pthread_attr_getschedparam.c
|
||||
*
|
||||
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* libc/pthread/pthread_attrgetschedpolicy.c
|
||||
* libc/pthread/pthread_attr_getschedpolicy.c
|
||||
*
|
||||
* Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* libc/pthread/pthread_attrgetstacksize.c
|
||||
* libc/pthread/pthread_attr_getstacksize.c
|
||||
*
|
||||
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* libc/pthread/pthread_attrinit.c
|
||||
* libc/pthread/pthread_attr_init.c
|
||||
*
|
||||
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* libc/pthread/pthread_attrsetaffinity.c
|
||||
* libc/pthread/pthread_attr_setaffinity.c
|
||||
*
|
||||
* Copyright (C) 2016 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* libc/pthread/pthread_attrsetinheritsched.c
|
||||
* libc/pthread/pthread_attr_setinheritsched.c
|
||||
*
|
||||
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* libc/pthread/pthread_attrsetschedparam.c
|
||||
* libc/pthread/pthread_attr_setschedparam.c
|
||||
*
|
||||
* Copyright (C) 2007-2009, 2011, 2015 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* libc/pthread/pthread_attrsetschedpolicy.c
|
||||
* libc/pthread/pthread_attr_setschedpolicy.c
|
||||
*
|
||||
* Copyright (C) 2007-2009, 2011, 2015 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* libc/pthread/pthread_attrsetstacksize.c
|
||||
* libc/pthread/pthread_attr_setstacksize.c
|
||||
*
|
||||
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/********************************************************************************
|
||||
* libc/pthread/pthread_barrierattrdestroy.c
|
||||
* libc/pthread/pthread_barrierattr_destroy.c
|
||||
*
|
||||
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/********************************************************************************
|
||||
* libc/pthread/pthread_barrierattrgetpshared.c
|
||||
* libc/pthread/pthread_barrierattr_getpshared.c
|
||||
*
|
||||
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/********************************************************************************
|
||||
* libc/pthread/pthread_barrierattrinit.c
|
||||
* libc/pthread/pthread_barrierattr_init.c
|
||||
*
|
||||
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/********************************************************************************
|
||||
* libc/pthread/pthread_barrierattrsetpshared.c
|
||||
* libc/pthread/pthread_barrierattr_setpshared.c
|
||||
*
|
||||
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* libc/pthread/pthread_condattrdestroy.c
|
||||
* libc/pthread/pthread_condattr_destroy.c
|
||||
*
|
||||
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* libc/pthread/pthread_condattrinit.c
|
||||
* libc/pthread/pthread_condattr_init.c
|
||||
*
|
||||
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* libc/pthread/pthread_mutexattrdestroy.c
|
||||
* libc/pthread/pthread_mutexattr_destroy.c
|
||||
*
|
||||
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* libc/pthread/pthread_mutexattrgetpshared.c
|
||||
* libc/pthread/pthread_mutexattr_getpshared.c
|
||||
*
|
||||
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* libc/pthread/pthread_mutexattrgettype.c
|
||||
* libc/pthread/pthread_mutexattr_gettype.c
|
||||
*
|
||||
* Copyright (C) 2008, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -72,6 +72,7 @@ int pthread_mutexattr_gettype(const pthread_mutexattr_t *attr, int *type)
|
||||
*type = attr->type;
|
||||
return 0;
|
||||
}
|
||||
|
||||
return EINVAL;
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* libc/pthread/pthread_mutexattrinit.c
|
||||
* libc/pthread/pthread_mutexattr_init.c
|
||||
*
|
||||
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* libc/pthread/pthread_mutexattrsetpshared.c
|
||||
* libc/pthread/pthread_mutexattr_setpshared.c
|
||||
*
|
||||
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* libc/pthread/pthread_mutexattrsettype.c
|
||||
* libc/pthread/pthread_mutexattr_settype.c
|
||||
*
|
||||
* Copyright (C) 2008, 2011 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
Loading…
Reference in New Issue
Block a user