# ====================================================================
cdl_option CYGPKG_POSIX_PTHREAD_REQUIREMENTS {
- display "Generic requirements of pthread package"
- flavor bool
- calculated 1
+ display "Generic requirements of pthread package"
+ flavor bool
+ calculated 1
implements CYGINT_ISO_PTHREADTYPES
implements CYGINT_ISO_PTHREAD_IMPL
- requires CYGPKG_POSIX_SCHED
- requires CYGSEM_KERNEL_SCHED_TIMESLICE_ENABLE
- requires CYGSEM_KERNEL_SCHED_ASR_SUPPORT
- requires CYGSEM_KERNEL_SCHED_ASR_GLOBAL
- requires !CYGSEM_KERNEL_SCHED_ASR_DATA_GLOBAL
- requires CYGFUN_KERNEL_THREADS_STACK_LIMIT
+ requires CYGPKG_POSIX_SCHED
+ requires CYGSEM_KERNEL_SCHED_TIMESLICE_ENABLE
+ requires CYGSEM_KERNEL_SCHED_ASR_SUPPORT
+ requires CYGSEM_KERNEL_SCHED_ASR_GLOBAL
+ requires !CYGSEM_KERNEL_SCHED_ASR_DATA_GLOBAL
+ requires CYGFUN_KERNEL_THREADS_STACK_LIMIT
requires { CYGBLD_ISO_PTHREADTYPES_HEADER == \
"<cyg/posix/types.h>" }
requires { CYGBLD_ISO_PTHREAD_IMPL_HEADER == \
"<cyg/posix/pthread.h>" }
- description "This option exists merely to carry the pthread
+ description "This option exists merely to carry the pthread
package requirements."
}
cdl_component CYGPKG_POSIX_PTHREAD_VALUES {
display "Constant values used in pthread package"
flavor bool
- calculated 1
+ calculated 1
description "These are values that are either configurable, or derived
from system parameters."
cdl_option CYGNUM_POSIX_PTHREAD_DESTRUCTOR_ITERATIONS {
- display "Maximum number of iterations of key destructors"
- flavor data
- legal_values 4 to 100
- default_value 4
- description "Maximum number of iterations of key destructors allowed."
+ display "Maximum number of iterations of key destructors"
+ flavor data
+ legal_values 4 to 100
+ default_value 4
+ description "Maximum number of iterations of key destructors allowed."
}
cdl_option CYGNUM_POSIX_PTHREAD_KEYS_MAX {
- display "Maximum number of per-thread data keys allowed"
- flavor data
- legal_values 128 to 65535
- default_value 128
- description "Number of per-thread data keys supported."
+ display "Maximum number of per-thread data keys allowed"
+ flavor data
+ legal_values 128 to 65535
+ default_value 128
+ description "Number of per-thread data keys supported."
}
cdl_option CYGNUM_POSIX_PTHREAD_THREADS_MAX {
- display "Maximum number of threads allowed"
- flavor data
- legal_values 64 to 1024
- default_value 64
- description "Maximum number of threads supported."
+ display "Maximum number of threads allowed"
+ flavor data
+ legal_values 64 to 1024
+ default_value 64
+ description "Maximum number of threads supported."
}
}
# ====================================================================
cdl_component CYGPKG_POSIX_PTHREAD_FEATURES {
- display "Fixed Feature test macros for POSIX"
- flavor bool
- calculated 1
- description "These options define POSIX feature test macros that
- describe the eCos implementation of pthreads. These
- are not changeable configuration options."
+ display "Fixed Feature test macros for POSIX"
+ flavor bool
+ calculated 1
+ description "These options define POSIX feature test macros that
+ describe the eCos implementation of pthreads. These
+ are not changeable configuration options."
cdl_option _POSIX_THREADS {
- display "POSIX thread support feature test macro"
- flavor bool
- calculated 1
- requires CYGSEM_KERNEL_SCHED_TIMESLICE
- requires CYGVAR_KERNEL_THREADS_DATA
- description "This option defines the POSIX feature test macro
- for thread support."
+ display "POSIX thread support feature test macro"
+ flavor bool
+ calculated 1
+ requires CYGSEM_KERNEL_SCHED_TIMESLICE
+ requires CYGVAR_KERNEL_THREADS_DATA
+ description "This option defines the POSIX feature test macro
+ for thread support."
}
cdl_option _POSIX_THREAD_PRIORITY_SCHEDULING {
- display "POSIX thread priority scheduling feature test macro"
- flavor bool
- calculated 1
- requires CYGSEM_KERNEL_SCHED_MLQUEUE
+ display "POSIX thread priority scheduling feature test macro"
+ flavor bool
+ calculated 1
+ requires CYGSEM_KERNEL_SCHED_MLQUEUE
requires _POSIX_THREADS
- description "This option defines the POSIX feature test macro
- for thread priority scheduling support."
+ description "This option defines the POSIX feature test macro
+ for thread priority scheduling support."
}
cdl_option _POSIX_THREAD_ATTR_STACKADDR {
- display "POSIX stack address attribute feature test macro"
- flavor bool
- calculated 1
- description "This option defines the POSIX feature test macro
- for supporting the thread stack address in the thread
- attribute object."
+ display "POSIX stack address attribute feature test macro"
+ flavor bool
+ calculated 1
+ description "This option defines the POSIX feature test macro
+ for supporting the thread stack address in the thread
+ attribute object."
}
cdl_option _POSIX_THREAD_ATTR_STACKSIZE {
- display "POSIX stack size attribute feature test macro"
- flavor bool
- calculated 1
- description "This option defines the POSIX feature test macro
- for supporting the thread stack size in the thread
- attribute object."
+ display "POSIX stack size attribute feature test macro"
+ flavor bool
+ calculated 1
+ description "This option defines the POSIX feature test macro
+ for supporting the thread stack size in the thread
+ attribute object."
}
cdl_option _POSIX_THREAD_PROCESS_SHARED {
- display "POSIX process shared attribute feature test macro"
- flavor bool
- calculated 0
- description "This option defines the POSIX feature test macro
- for supporting process shared mutexes. Since eCos
- does not have processes, this attribute is undefined."
+ display "POSIX process shared attribute feature test macro"
+ flavor bool
+ calculated 0
+ description "This option defines the POSIX feature test macro
+ for supporting process shared mutexes. Since eCos
+ does not have processes, this attribute is undefined."
}
}
# ====================================================================
cdl_component CYGPKG_POSIX_MAIN_THREAD {
- display "Main thread configuration"
- flavor bool
- calculated 1
- requires { 0 != CYGPKG_LIBC_STARTUP }
- requires CYGSEM_LIBC_STARTUP_MAIN_OTHER
+ display "Main thread configuration"
+ flavor bool
+ calculated 1
+ requires { 0 != CYGPKG_LIBC_STARTUP }
+ requires CYGSEM_LIBC_STARTUP_MAIN_OTHER
implements CYGINT_LIBC_STARTUP_EXTERNAL_INVOKE_MAIN_POSSIBLE
- description "These options control the thread used to
+ description "These options control the thread used to
run the main() application entry routine."
-
- cdl_option CYGNUM_POSIX_MAIN_DEFAULT_PRIORITY {
- display "main()'s default thread priority"
- flavor data
- legal_values 0 to 31
- default_value 16
- description "
+
+ cdl_option CYGNUM_POSIX_MAIN_DEFAULT_PRIORITY {
+ display "main()'s default thread priority"
+ flavor data
+ legal_values 0 to 31
+ default_value 16
+ description "
POSIX compatibility requires that the application's
main() function be invoked in a thread.
- This option controls the priority of that thread. This
+ This option controls the priority of that thread. This
priority is the POSIX priority and is NOT the same as
an eCos thread priority. With POSIX thread priorities,
lower numbers are lower priority, and higher numbers are
higher priority."
- }
+ }
}
# ====================================================================
# End of pthread.cdl
-
-