Ignore:
Timestamp:
Nov 10, 2001, 1:47:48 PM (24 years ago)
Author:
sandervl
Message:

Implemented Get/SetProcessAffinityMask & SetThreadAffinityMask

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/stubs.cpp

    r6646 r7318  
    1 /* $Id: stubs.cpp,v 1.32 2001-09-05 12:58:00 bird Exp $
     1/* $Id: stubs.cpp,v 1.33 2001-11-10 12:47:47 sandervl Exp $
    22 *
    33 * Win32 KERNEL32 Subsystem for OS/2
     
    17891789
    17901790
    1791 /*****************************************************************************
    1792  * Name      : DWORD SetThreadAffinityMask
    1793  * Purpose   : The SetThreadAffinityMask function sets a processor affinity
    1794  *             mask for a specified thread.
    1795  *             A thread affinity mask is a bit vector in which each bit
    1796  *             represents the processors that a thread is allowed to run on.
    1797  *             A thread affinity mask must be a proper subset of the process
    1798  *             affinity mask for the containing process of a thread. A thread
    1799  *             is only allowed to run on the processors its process is allowed to run on.
    1800  * Parameters: HANDLE hThread              handle to the thread of interest
    1801  *             DWORD  dwThreadAffinityMask a thread affinity mask
    1802  * Variables :
    1803  * Result    : TRUE / FALSE
    1804  * Remark    :
    1805  * Status    : UNTESTED STUB
    1806  *
    1807  * Author    : Patrick Haller [Mon, 1998/06/15 08:00]
    1808  *****************************************************************************/
    1809 
    1810 DWORD WIN32API SetThreadAffinityMask(HANDLE hThread,
    1811                                         DWORD  dwThreadAffinityMask)
    1812 {
    1813   dprintf(("KERNEL32: SetThreadAffinityMask(%08xh,%08xh) not implemented.\n",
    1814            hThread,
    1815            dwThreadAffinityMask));
    1816 
    1817   return (0);
    1818 }
    1819 
    18201791
    18211792
Note: See TracChangeset for help on using the changeset viewer.