diff options
| author | doko <doko@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-04-07 12:30:03 +0000 |
|---|---|---|
| committer | doko <doko@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-04-07 12:30:03 +0000 |
| commit | 1ac4dadbe2c311e7188f13ad8f2c8383229ee191 (patch) | |
| tree | 7dfaa9a59a8f722dc98076e9a8be70f51e3eec4f /gcc/ada/socket.c | |
| parent | 27e9f331542a274cf27cb1b4cb7f60f01e90d1fb (diff) | |
| download | ppe42-gcc-1ac4dadbe2c311e7188f13ad8f2c8383229ee191.tar.gz ppe42-gcc-1ac4dadbe2c311e7188f13ad8f2c8383229ee191.zip | |
2008-04-07 Aurelien Jarno <aurelien@aurel32.net>
* s-osinte-linux-kfreebsd.ads (SC_NPROCESSORS_ONLN): New
constant constant for sysconf call.
(bit_field): New packed boolean type used by cpu_set_t.
(cpu_set_t): New type corresponding to the C type with
the same name. Note that on the Ada side we use a bit
field array for the affinity mask. There is not need
for the C macro for setting individual bit.
(pthread_setaffinity_np): New imported routine.
* Makefile.in: Use s-tasinf-linux.ads and s-tasinf-linux.adb
on GNU/kFreeBSD.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133978 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/socket.c')
0 files changed, 0 insertions, 0 deletions

