• [^] # Re: bande passante / latence

    Posté par . En réponse au lien Blocking and non-blocking threads. Évalué à 3.

    Merci pour ces explications qui sont claires. Ces états (running, waiting, blocked) sont gérés par l'ordonnanceur (ou scheduler). D'un point de vue développement applicatif, je lance mon thread et je peux savoir s'il est terminé ou non pthread_join. Est-il possible d'en savoir plus ? Quand on regarde le man ps(1), on voit :

     D uninterruptible sleep (usually I/O)
     I idle kernel thread
     R running or runnable (on run queue)
     S interruptible sleep (waiting for an
     event to complete)
     T stopped by job control signal
     t stopped by debugger during the tracing
     W paging (not valid since Linux 2.6)
     X dead (should never be seen)
     Z defunct ("zombie") process, terminated
     but not reaped by its parent