aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/g-bytswa.ads
AgeCommit message (Collapse)AuthorFilesLines
2007-09-12a-extiti.ads (Timer): The discriminant is a "not null access constant" in ↵Arnaud Charlet1-17/+17
the Reference Manual. * a-extiti.ads (Timer): The discriminant is a "not null access constant" in the Reference Manual. (Cancel_Handler): Cancelled is an out parameter in the Reference Manual. * a-swuwha.adb: Remove junk RM header * g-bytswa-x86.adb (Swap2, Swap4, Swap8): Remove explicit "in" mode indicator * g-bytswa.ads: Minor reformatting * g-soccon-solaris-64.ads, g-soccon-hpux-ia64.ads: Add new constant Thread_Blocking_IO, always True by default, set False on a per-runtime basis. (Need_Netdb_Buffer): New constant. * s-dsaser.ads (Get_Local_Partition_Id, Get_Passive_Partition_Id): Added renames for corresponding functions in System.Partition_Interface. * Makefile.in: Remove VMS specific System.CRTL packages which are no longer needed. * s-crtl-vms64.ads: Removed. From-SVN: r128430
2007-04-06g-stsifd-sockets.adb: New file.Thomas Quinot1-0/+206
2007-04-06 Thomas Quinot <quinot@adacore.com> Pat Rogers <rogers@adacore.com> Pascal Obry <obry@adacore.com> * g-stsifd-sockets.adb: New file. * g-socthi.ads, g-socket.adb, g-socthi-vxworks.adb, g-socthi-vxworks.ads, g-socthi-mingw.ads, g-socthi-vms.ads, g-socthi-vms.adb: Move signalling fd management to a nested package, so that they can conveniently be moved to a subunit that is shared across Windows, VMS, and VxWorks (Ada implementation) or completed with imported bodies from socket.c (UNIX case). (Read_Signalling_Fd, Write_Signalling_Fd, Create_Signalling_Fds): New subprograms. (Check_Selector): Use Read_Signalling_Fd to read and discard data from the signalling file descriptor. (Abort_Selector): Use Write_Signalling_Fd to write dummy data to the signalling file descriptor. (Create_Selector): Use new C-imported subprogram Create_Signalling_Fds instead of creating a pair of sockets for signalling here. * g-socthi.adb: Ditto. Set the runtime process to ignore SIGPIPEs on platforms that support neither SO_NOSIGPIPE nor MSG_NOSIGNAL functionality. * g-socthi-mingw.adb: Ditto. (WS_Version): Use Windows 2.2. Use Winsock 2.2 (instead of 1.1) for the GNAT.Socket API. * g-soliop-mingw.ads: Link with ws2_32 for Windows 2.x support. Use Winsock 2.2 (instead of 1.1) for the GNAT.Socket API. * Makefile.in: New libgnat pair g-stsifd.adb<g-stsifd-sockets.adb. added GNAT byte swapping facility Update FreeBSD THREADSLIB from -lc_r to -lpthread, for FreeBSD 6. * g-bytswa.adb, g-bytswa-x86.adb, g-bytswa.ads: New files. * socket.c (__gnat_read_signalling_fd, __gnat_write_controlling_fd): New subprograms. (__gnat_create_signalling_fds): New subprogram. Set the runtime process to ignore SIGPIPEs on platforms that support neither SO_NOSIGPIPE nor MSG_NOSIGNAL functionality. From-SVN: r123542