Bash-Linux.com : Le SHELL pour les nuls

  Actuellement 50 lignes de commande et 1472 man disponibles
login as: root
root@213.186.33.18's password:
Last login: Mon Feb 13 0:31:04 2012 from 38.107.179.226
[root@bash-linux ~] # echo "Bienvenue sur Bash-Linux.com"_
 Manuel des commandes UNIX (man) Version anglaise

Indiquez la fonction :

Man Pthread_kill en anglais

PTHREAD_KILL(P) POSIX Programmer's Manual PTHREAD_KILL(P)
 
NAME


pthread_kill - send a signal to a thread
 
SYNOPSIS


#include int pthread_kill(pthread_t thread, int sig);
 
DESCRIPTION


The pthread_kill() function shall request that a signal be delivered to the specified thread. As in kill(), if sig is zero, error checking shall be performed but no signal shall actually be sent.
 
RETURN VALUE


Upon successful completion, the function shall return a value of zero. Otherwise, the function shall return an error number. If the pthread_kill() function fails, no signal shall be sent.
 
ERRORS


The pthread_kill() function shall fail if: ESRCH No thread could be found corresponding to that specified by the given thread ID. EINVAL The value of the sig argument is an invalid or unsupported sig- nal number. The pthread_kill() function shall not return an error code of [EINTR]. The following sections are informative.
 
EXAMPLES


None.
 
APPLICATION USAGE


The pthread_kill() function provides a mechanism for asynchronously directing a signal at a thread in the calling process. This could be used, for example, by one thread to affect broadcast delivery of a sig- nal to a set of threads. Note that pthread_kill() only causes the signal to be handled in the context of the given thread; the signal action (termination or stop- ping) affects the process as a whole.
 
RATIONALE


None.
 
FUTURE DIRECTIONS


None.
 
SEE ALSO


kill() , pthread_self() , raise() , the Base Definitions volume of IEEE Std 1003.1-2001,
 
COPYRIGHT


Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between this version and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html . IEEE/The Open Group 2003 PTHREAD_KILL(P)


 Dernières recherches
Man  en anglais Man pthread_kill en anglaisMan  en français Man pthread_kill en français
Man  en anglais Man zic en anglaisMan  en français Man zic en français
Man  en anglais Man sigwaitinfo en anglaisMan  en français Man sigwaitinfo en français
Man  en anglais Man ls en anglaisMan  en français Man ls en français
Man  en anglais Man rm en anglaisMan  en français Man rm en français
Man  en anglais Man wcsncasecmp en anglaisMan  en français Man wcsncasecmp en français
Man  en anglais Man df en anglaisMan  en français Man df en français
Man  en anglais Man ln en anglaisMan  en français Man ln en français
Man  en anglais Man gethostname en anglaisMan  en français Man gethostname en français
Man  en anglais Man getpagesize en anglaisMan  en français Man getpagesize en français
Man  en anglais Man ld en anglaisMan  en français Man ld en français
Man  en anglais Man utmp en anglaisMan  en français Man utmp en français
Man  en anglais Man addseverity en anglaisMan  en français Man addseverity en français
Man  en anglais Man sched_yield en anglaisMan  en français Man sched_yield en français
Man  en anglais Man du en anglaisMan  en français Man du en français

 Recherche

Dans ce moteur de recherche, vous pouvez taper directement votre besoin, en une phrase normale, humaine.
Exemple : vous cherchez comment remplacer un mot par un autre dans tous les fichiers d'un certain dossier. Vous pouvez écrire "Comment remplacer un mot par un autre dans tous les fichiers d'un dossier". Le moteur vous ramenera les résultats en fonction de leur pertinence.
Vous pouvez bien sûr ne chercher qu'un seul mot-clé, par exemple "find".
 Toutes les lignes de code
Par popularité
Par fonction
Recherche avancée
 Les logiciels SHELL/SSH
Putty
Astuces Bash
Faire du SHELL avec PHP!
 La doc officielle
Les man Linux en français
Les man Linux en anglais
 Proposer vos bash
Partagez vos lignes!
 Les requêtes
Déposer une requête
Voir/répondre à une requête
 Quelques sites interessants
Bons sites pour apprendre
 Rechercher