VS1053 worker thread stack size is now configurable; Worker thread is named via pthread_setname_np(). From Ken Pettit

This commit is contained in:
Gregory Nutt
2013-11-10 11:03:19 -06:00
parent f7f5923d9d
commit 926e91555d
4 changed files with 24 additions and 6 deletions
+6 -5
View File
@@ -1,7 +1,7 @@
/****************************************************************************
* include/sys/prctl.h
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -65,8 +65,8 @@
* prctl(PR_GET_NAME, myname, 0);
*/
#define PR_SET_NAME 1
#define PR_GET_NAME 2
#define PR_SET_NAME 1
#define PR_GET_NAME 2
/****************************************************************************
* Public Type Definitions
@@ -79,7 +79,8 @@
#undef EXTERN
#if defined(__cplusplus)
#define EXTERN extern "C"
extern "C" {
extern "C"
{
#else
#define EXTERN extern
#endif
@@ -104,7 +105,7 @@ extern "C" {
*
****************************************************************************/
EXTERN int prctl(int option, ...);
int prctl(int option, ...);
#undef EXTERN
#if defined(__cplusplus)