Lely core libraries
2.3.4
|
#include <limits.h>
Go to the source code of this file.
Macros | |
#define | _Alignof(x) __alignof__(x) |
Specifies the alignment requirement of the declared object or member. More... | |
#define | _Noreturn __attribute__((__noreturn__)) |
A function declared with a _Noreturn function specifier SHALL not return to its caller. | |
#define | _Thread_local __thread |
An object whose identifier is declared with the storage-class specifier _Thread_local has thread storage duration. More... | |
#define | LONG_BIT __WORDSIZE |
The number of bits in a long. | |
#define | LEVEL1_DCACHE_LINESIZE 64 |
The presumed size (in bytes) of a line in the L1 data cache. More... | |
#define | LELY_VLA_SIZE_MAX 256 |
The maximum size (in bytes) of stack-allocated arrays. | |
This header file is part of the Lely libraries; it contains the compiler feature definitions.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file features.h.
#define _Alignof | ( | x | ) | __alignof__(x) |
Specifies the alignment requirement of the declared object or member.
Yields the alignment requirement of its operand type.
Definition at line 200 of file features.h.
#define _Thread_local __thread |
An object whose identifier is declared with the storage-class specifier _Thread_local
has thread storage duration.
Its lifetime is the entire execution of the thread for which it is created, and its stored value is initialized when the thread is started. There is a distinct object per thread, and use of the declared name in an expression refers to the object associated with the thread evaluating the expression.
Definition at line 249 of file features.h.
#define LEVEL1_DCACHE_LINESIZE 64 |
The presumed size (in bytes) of a line in the L1 data cache.
This value can be used with _Alignas() to prevent variables from sharing a cache line, which may increase the performance of some data structures in a multithreaded environment.
Definition at line 302 of file features.h.