From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ddf3891c0469bb9f X-Google-Attributes: gid103376,public From: cdecker@snet.net (Decker, Christian R) Subject: Task management Date: 1999/06/17 Message-ID: #1/1 X-Deja-AN: 490619910 References: X-Trace: WReNphoon3 929616111 10.0.2.27 (Thu, 17 Jun 1999 03:41:51 PDT) Organization: http://www.remarq.com: The World's Usenet/Discussions Start Here NNTP-Posting-Date: Thu, 17 Jun 1999 03:41:51 PDT Newsgroups: comp.lang.ada Date: 1999-06-17T00:00:00+00:00 List-Id: If you are on an NT station ( I assume NT windows cuz win95 doesn't support multi-cpu's ) then the system call GetSystemInfo will return a C struct filled with all the goodies. the struct is defined as: ( winbase.h , kernel32.lib ) typedef struct _SYSTEM_INFO { // sinf union { DWORD dwOemId; struct { WORD wProcessorArchitecture; WORD wReserved; }; }; DWORD dwPageSize; LPVOID lpMinimumApplicationAddress; LPVOID lpMaximumApplicationAddress; DWORD dwActiveProcessorMask; DWORD dwNumberOfProcessors; DWORD dwProcessorType; DWORD dwAllocationGranularity; WORD wProcessorLevel; WORD wProcessorRevision; } SYSTEM_INFO On a Unix Box I don't know the call, but i am sure it exists. -**** Posted from RemarQ, http://www.remarq.com/?a ****- Search and Read Usenet Discussions in your Browser - FREE -