Skip to content
Commit 5ea77118 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

Explicitly initialize the group tg_exitsem with sem_init(). The existing...

Explicitly initialize the group tg_exitsem with sem_init().  The existing logic worked because the correct initialization value is all zero, but it is better to initialize the semaphore explicitly.  Noted by Jouko Holopainen.
parent 4f87b454
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment