View Single Post
Re: Server loader and multiple CPUs
Old
  (#2)
botmeister
Ex-Council Member
 
botmeister's Avatar
 
Status: Offline
Posts: 1,090
Join Date: Nov 2003
Location: Canada
Default Re: Server loader and multiple CPUs - 21-03-2006

Yes it looks like I can add binding to a specific cpu. If I find the time, I'll give it a try. In case you did not know, the source code is available for modifications if you have the skills (and time).

This system call should do the trick
SetProcessAffinityMask(ProcessInfo.hProcess, BitMask);

I knew about the "fast user switch". It just keeps the previous user logged in. Under windows 2000 there's no such thing however, so you need Windows XP or higher.

I tried a lot of different things, but I found nothing that kept the processes running after a log out.


Maker of the (mEAn) Bot.Admin Manager

"In theory, there is no difference between theory and practice. But, in practice, there is." - Jan L.A. van de Snepscheut
  
Reply With Quote