[thread.thread.static]

# 32 Concurrency support library [[thread]](./#thread)

## 32.4 Threads [[thread.threads]](thread.threads#thread.thread.static)

### 32.4.3 Class thread [[thread.thread.class]](thread.thread.class#thread.thread.static)

#### 32.4.3.7 Static members [thread.thread.static]

[ð](#lib:hardware_concurrency,thread)

`unsigned hardware_concurrency() noexcept;
`

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/threads.tex#L1896)

*Returns*: The number of hardware thread contexts[.](#1.sentence-1)

[*Note [1](#note-1)*:

This value should
only be considered to be a hint[.](#1.sentence-2)

â *end note*]

If this value is not computable or
well-defined, an implementation should return 0[.](#1.sentence-3)
