mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 20:33:31 +01:00
1ebdaf5788
This time, we use a pthread_attr to make sure that if pthread_create succeeds, the thread is successfully detached. This probably isn't the big thing going on with 4345, since it'd be a bit weird for pthread_detach to be failing. But it's worth getting it right.
11 lines
499 B
Plaintext
11 lines
499 B
Plaintext
o Minor bugfixes:
|
|
- Check return code on spawn_func() in cpuworker code, so that we don't
|
|
think we've spawned a nonworking cpuworker and write junk to it
|
|
forever. Fix related to bug 4345; bugfix on all released Tor versions.
|
|
Found by "skruffy".
|
|
|
|
- Use a pthread_attr to make sure that spawn_func() cannot return
|
|
an error while at the same time launching a thread. Fix related
|
|
to bug 4345; bugfix on all released Tor versions. Reported by
|
|
"cypherpunks".
|