在 2020/1/7 下午10:31, Malcolm MacLeod 写道:
> 
> Would you not deem actually being able to use more than half the cores on a 
> high core count machine
> as 'essential'?
> It seems like a pretty bad limitation to me, granted not every application 
> needs this sort of
> performance but there are certainly lots that do and its only going to get 
> more common.
> 
> The windows people don't seem to be about to do away with this limitation in 
> the near future, and
> machines with more core availability are only getting more and more common. 
> So if not a wrapper then what/how would you suggest that people who need 
> their programs to support
> this deal with it?
> 

Processor groups are available only from Windows 7 and Windows Server
2008 R2. If you would like to implement such wrappers in winpthreads,
please make sure they are conditionally excluded when targeting Windows
Server 2003 (which is the default). But such wrappers have to have
references (e.g. they truly conform to the POSIX standard) so we can
verify they really work as expected.

It also doesn't seem clear to me why you want to have many many threads
in a single process. I would suggest multiple processes, each of which
has <=64 threads.

-- 
Best regards,
LH_Mouse

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to