Jump to main content
MPLAB® XC32 C Compiler User's Guide for PIC32A MCU
Search
Home
11
Memory Allocation and Access
11.10
Thread Local Storage (TLS)
11.10.4
Miscellaneous details
Notice to Development Tools Customers
1
Preface
2
Compiler Overview
3
Compiler and Other Development Tools
4
How To's
5
XC32
Toolchain and
MPLAB® X IDE
6
Compiler Command-Line Driver
7
Device-Related Features
8
Differences Between
MPLAB® XC32
and C Standard
9
Supported Data Types and Variables
10
Fixed-Point Arithmetic Support
11
Memory Allocation and Access
11.1
Address Spaces
11.2
Variables In Data Space Memory
11.3
Variables in Program Space
11.4
External Memory Access
11.5
Dual Partition Memory Access
11.6
Allocation of Variables to Registers
11.7
Dynamic Memory Allocation
11.8
Co-Resident Applications
11.9
Memory Models
11.10
Thread Local Storage (TLS)
11.10.1
Declaring thread objects
11.10.2
Manipulating the TLS context
11.10.3
Putting it all together
11.10.4
Miscellaneous details
11.10.4.1
Thread execution model
11.10.4.2
Statically allocated TLS space
11.10.4.3
Implementation details for the curious
12
Operators and Statements
13
Register Usage
14
Functions
15
Interrupts
16
Main, Runtime Startup and Reset
17
Mixing C and Assembly Code
18
Library Routines
19
Optimizations
20
Preprocessing
21
Linking Programs
22
Implementation-Defined Behavior
23
Embedded Compiler Compatibility Mode
24
Common C Interface
25
Diagnostic Pragmas
26
Diagnostic Messages
27
GNU Free Documentation License
28
Built-in Functions
29
Document Revision History
Microchip Information
11.10.4 Miscellaneous details