19 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
* |
* |
22 |
* $Id: xvid.c,v 1.76 2008-11-27 00:47:03 Isibaar Exp $ |
* $Id: xvid.c,v 1.77 2008-11-28 16:42:50 Isibaar Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
674 |
if ((dwProcessAffinityMask & (1<<i))) |
if ((dwProcessAffinityMask & (1<<i))) |
675 |
info->num_threads++; |
info->num_threads++; |
676 |
} |
} |
677 |
|
if (info->num_threads == 0) { |
678 |
|
SYSTEM_INFO siSysInfo; |
679 |
|
GetSystemInfo(&siSysInfo); |
680 |
|
info->num_threads = siSysInfo.dwNumberOfProcessors; /* number of _logical_ cores */ |
681 |
|
} |
682 |
} |
} |
683 |
} |
} |
684 |
#else |
#else |