g-soccon-freebsd.ads, [...]: Add new constant Thread_Blocking_IO...
authorThomas Quinot <quinot@adacore.com>
Wed, 6 Jun 2007 10:13:25 +0000 (12:13 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 6 Jun 2007 10:13:25 +0000 (12:13 +0200)
commit47a5501df944948337ef4441297618938a1a3651
treebaf058bd56d76dcabcd90188202b3f51c48b7a25
parent9415ab7da862bbba06642935c245b0fd3d8e31c6
g-soccon-freebsd.ads, [...]:  Add new constant Thread_Blocking_IO...

2007-04-20  Thomas Quinot  <quinot@adacore.com>
    Bob Duff  <duff@adacore.com>

        * g-soccon-freebsd.ads, g-soccon-vxworks.ads:,
g-soccon-aix.ads, g-soccon-irix.ads, g-soccon-hpux.ads,
g-soccon-solaris.ads, g-soccon-vms.ads, g-soccon-tru64.ads:  Add new
constant Thread_Blocking_IO, always True by default, set False
on a per-runtime basis.
(Need_Netdb_Buffer): New constant.

* g-stheme.adb, g-sttsne.ads, g-sttsne-locking.ads,
g-sttsne-locking.adb, g-sttsne-vxworks.ads, g-sttsne-vxworks.adb: New
files.

* g-socthi-vxworks.ads, g-socthi-vxworks.adb,
g-socthi-vms.ads, g-socthi-vms.adb (Safe_Gethostbyname,
Safe_Gethostbyaddr, Safe_Getservbyname, Safe_Getservbyport): Use new
child package Task_Safe_NetDB
(Host_Error_Messages): Add stub body.
(GNAT.Sockets.Thin.Signalling_Fds): New procedure Close.

* g-soccon-mingw.ads: Add Windows-specific constants.
(Need_Netdb_Buffer): New constant.
(GNAT.Sockets.Thin.C_Inet_Addr, Windows version): Remove useless Ada
wrapper and import inet_addr(3) from the standard sockets library
directly instead.
(In_Addr): Add alignment clause.
(GNAT.Sockets.Thin.Signalling_Fds): New procedure Close.

From-SVN: r125358
19 files changed:
gcc/ada/g-soccon-aix.ads
gcc/ada/g-soccon-freebsd.ads
gcc/ada/g-soccon-hpux.ads
gcc/ada/g-soccon-irix.ads
gcc/ada/g-soccon-mingw.ads
gcc/ada/g-soccon-solaris.ads
gcc/ada/g-soccon-tru64.ads
gcc/ada/g-soccon-vms.ads
gcc/ada/g-soccon-vxworks.ads
gcc/ada/g-socthi-vms.adb
gcc/ada/g-socthi-vms.ads
gcc/ada/g-socthi-vxworks.adb
gcc/ada/g-socthi-vxworks.ads
gcc/ada/g-stheme.adb [new file with mode: 0644]
gcc/ada/g-sttsne-locking.adb [new file with mode: 0644]
gcc/ada/g-sttsne-locking.ads [new file with mode: 0644]
gcc/ada/g-sttsne-vxworks.adb [new file with mode: 0644]
gcc/ada/g-sttsne-vxworks.ads [new file with mode: 0644]
gcc/ada/g-sttsne.ads [new file with mode: 0644]