Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Thread » ?

Definition 15.1 University Computer Science — Year 2 · Chapitre 15 — Threads and Synchronisation

A thread is one sequence of execution inside a process: it has its own registers, program counter and stack, and shares with the other threads of the process everything else, its memory, its open files, its signal handlers. pthread_create(&t, NULL, f, arg) starts a thread that runs f(arg); pthread_join(t, NULL) waits for it to end.

Lire dans le chapitre →