Environment Variables
This section describes the environment variables that may need to be configured for using HTL. Set the environment variables as required after installing KSL.
Variable |
Description |
Default Value |
|---|---|---|
HTL_THREAD_STACKSIZE |
Sets the thread stack size, in bytes. |
16384 |
HTL_SCHED_SLEEP_NSEC |
Sets the scheduler sleep mode (nanosleep). |
100 |
HTL_MEM_MAX_NUM_STACKS |
Sets the maximum number of stacks that can be reserved by an executor. |
65536 |
HTL_MAX_NUM_XSTREAMS |
Sets the number of executors in HTL-PThreads mode. |
Number of processors in the system |
For details about how to set the environment variables, see Environment Variables.
Parent topic: Data Structures