Espaços nominais
Variantes
Acções

Thread support library

Da cppreference.com
< c

 
 
Biblioteca de suporte a discussão
Threads
Original:
Threads
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Exclusão mútua
Original:
Mutual exclusion
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Chamar uma vez
Original:
Call once
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Variáveis ​​de condição
Original:
Condition variables
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Segmento local de armazenamento
Original:
Thread-local storage
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
Se o __STDC_NO_THREADS__(C11) macro constante é definida pelo compilador, o <threads.h> cabeçalho e todos os nomes listados aqui não são fornecidos.
Original:
If the macro constant __STDC_NO_THREADS__(C11) is defined by the compiler, the header <threads.h> and all of the names listed here are not provided.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Índice

[editar]Threads

Defined in header <threads.h>
thrd_t
um tipo de identificação de uma discussão
Original:
a type identifying a thread
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[edit]
cria uma discussão
Original:
creates a thread
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função)[edit]
verifica se dois identificadores referem-se ao mesmo segmento
Original:
checks if two identifiers refer to the same thread
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função)[edit]
obtém o identificador de thread atual
Original:
obtains the current thread identifier
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função)[edit]
suspende a execução do segmento de chamada para o período determinado de tempo
Original:
suspends execution of the calling thread for the given period of time
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função)[edit]
yields the current time slice
(função)[edit]
termina o segmento de chamada
Original:
terminates the calling thread
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função)[edit]
destaca uma discussão
Original:
detaches a thread
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função)[edit]
blocos até que um segmento termina
Original:
blocks until a thread terminates
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função)[edit]
indica um estado de erro discussão
Original:
indicates a thread error status
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(constante)[edit]
thrd_start_t
(C11)
tipo ponteiro de função passou para thrd_create
Original:
function pointer type passed to thrd_create
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(typedef)[edit]

[editar]Exclusão mútua

Defined in header <threads.h>
mtx_t
identificador mutex
Original:
mutex identifier
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[edit]
cria um mutex
Original:
creates a mutex
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função)[edit]
bloqueia até que trava um mutex
Original:
blocks until locks a mutex
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função)[edit]
bloqueia até que trava um mutex ou tempo limite
Original:
blocks until locks a mutex or times out
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função)[edit]
trava um mutex ou retorna sem bloquear, se já está bloqueada
Original:
locks a mutex or returns without blocking if already locked
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função)[edit]
desbloqueia um mutex
Original:
unlocks a mutex
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função)[edit]
destrói um mutex
Original:
destroys a mutex
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função)[edit]
define o tipo de um mutex
Original:
defines the type of a mutex
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(enum)[edit]
Chamar uma vez
Original:
Call once
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
once_flag the type of the flag used by call_once [edit]
inicializa uma once_flag
Original:
initializes a once_flag
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(macro constante)[edit]
chama uma função exatamente uma vez
Original:
calls a function exactly once
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função)[edit]

[editar]Variáveis ​​de condição

Defined in header <threads.h>
cnd_t
identificador condição variável
Original:
condition variable identifier
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
cria uma variável de condição
Original:
creates a condition variable
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função)[edit]
uma thread desbloqueia bloqueado em uma variável de condição
Original:
unblocks one thread blocked on a condition variable
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função)[edit]
desbloqueia todos os tópicos bloqueados em uma variável de condição
Original:
unblocks all threads blocked on a condition variable
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função)[edit]
blocos em uma variável de condição
Original:
blocks on a condition variable
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função)[edit]
blocos em uma variável de condição, com um tempo de espera
Original:
blocks on a condition variable, with a timeout
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função)[edit]
destrói uma variável de condição
Original:
destroys a condition variable
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função)[edit]

[editar]Segmento local de armazenamento

Defined in header <threads.h>
fio macro de tipo local
Original:
thread local type macro
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(macro constante)[edit]
tss_t
thread-específico ponteiro de armazenamento
Original:
thread-specific storage pointer
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[edit]
número máximo de vezes destruidores são chamados
Original:
maximum number of times destructors are called
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(macro constante)[edit]
tss_dtor_t function pointer type used for TSS destructor [edit]
creates thread-specific storage pointer with a given destructor
(função)[edit]
lê-thread específica de armazenamento
Original:
reads from thread-specific storage
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função)[edit]
escrever a linha específica de armazenamento
Original:
write to thread-specific storage
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função)[edit]
libera os recursos mantidos por um determinado ponteiro thread-específico
Original:
releases the resources held by a given thread-specific pointer
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(função)[edit]
close