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 [2025/11/12 05:03] (current) alexandru.bala [Variabile condiție] |
||
|---|---|---|---|
| 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); | ||