This shows you the differences between two versions of the page.
|
app:laboratoare:04 [2025/11/12 05:03] alexandru.bala [Semafor] |
app:laboratoare:04 [2026/09/22 13:13] (current) tudor.calafeteanu [Laboratorul 4 - PThreads] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Laboratorul 4 - PThreads ====== | + | ====== Laboratorul 5 - PThreads ====== |
| ===== Despre pthreads ===== | ===== Despre pthreads ===== | ||
| Line 493: | Line 493: | ||
| } | } | ||
| - | pthread_cond_init (&empty_cond, NULL); | + | pthread_cond_destroy (&empty_cond, NULL); |
| - | pthread_cond_init (&full_cond, NULL); | + | pthread_cond_destroy (&full_cond, NULL); |
| pthread_mutex_destroy(&mutex); | pthread_mutex_destroy(&mutex); | ||