Mercurial > hg > nginx-quic
comparison src/os/unix/ngx_thread.h @ 4448:539355d9e675 stable-1.0
Merge of r4404:
Fixed sched_setaffinity(2) to correctly pass size.
Second argument (cpusetsize) is size in bytes, not in bits. Previously
used constant 32 resulted in reading of uninitialized memory and caused
EINVAL to be returned on some Linux kernels.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sun, 05 Feb 2012 19:25:24 +0000 |
parents | ebcee0063cd8 |
children | d620f497c50f |
comparison
equal
deleted
inserted
replaced
4447:2b2d51cdbd97 | 4448:539355d9e675 |
---|