Cygwin: Implement CPU_SET(3) macros
This patch supplies an implementation of the CPU_SET(3) processor affinity macros as documented on the relevant Linux man page. There is a mostly superset implementation of cpusets under newlib's libc/sys/RTEMS/include/sys that has Linux and FreeBSD compatibility and is built on top of FreeBSD bitsets. This Cygwin implementation and the RTEMS one could be combined if desired at some future point.
This commit is contained in:
committed by
Corinna Vinschen
parent
654398db84
commit
362b98b49a
@@ -6,7 +6,7 @@ What's new:
|
||||
which uses the nearest color from 16 system colors.
|
||||
|
||||
- New APIs: sched_getaffinity, sched_setaffinity, pthread_getaffinity_np,
|
||||
pthread_setaffinity_np.
|
||||
pthread_setaffinity_np, plus CPU_SET macros.
|
||||
|
||||
- New APIs: dbm_clearerr, dbm_close, dbm_delete, dbm_dirfno, dbm_error,
|
||||
dbm_fetch, dbm_firstkey, dbm_nextkey, dbm_open, dbm_store.
|
||||
|
Reference in New Issue
Block a user