[PATCH 1 of 2] fix sched_setaffinity(2) call failure

Joshua Zhu zhuzhaoyuan at gmail.com
Thu Jan 12 15:37:00 UTC 2012


Hi,

'cpu_set_t' should be used instead of 'long' when calling
sched_setaffinity(2). Otherwise it may fail on some Linux systems.
Please see the attachment for more detail.

Regards,

-- 
Joshua Zhu
Senior Software Engineer
Server Platforms Team at Taobao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120112/b5c3cf6e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bugfix.patch
Type: text/x-patch
Size: 6447 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120112/b5c3cf6e/attachment-0001.bin>


More information about the nginx mailing list