The Linux Programming Interface: a linux and unix system Programming Handbook



tải về 6.93 Mb.
Chế độ xem pdf
trang33/806
Chuyển đổi dữ liệu08.07.2022
Kích6.93 Mb.
#52607
1   ...   29   30   31   32   33   34   35   36   ...   806
The Linux Programming Interface

45
INTRODUCTION TO SYSTEM V IPC
 921
45.1
API Overview ........................................................................................................... 922
45.2
IPC Keys .................................................................................................................. 925
45.3
Associated Data Structure and Object Permissions......................................................... 927
45.4
IPC Identifiers and Client-Server Applications ................................................................ 929
45.5
Algorithm Employed by System V IPC 
get
Calls.............................................................. 931
45.6
The 
ipcs
and 
ipcrm
Commands ................................................................................... 934
45.7
Obtaining a List of All IPC Objects .............................................................................. 935
45.8
IPC Limits ................................................................................................................. 935
45.9
Summary.................................................................................................................. 936
45.10 Exercises .................................................................................................................. 936
46
SYSTEM V MESSAGE QUEUES
 937
46.1
Creating or Opening a Message Queue ...................................................................... 938
46.2
Exchanging Messages ............................................................................................... 940
46.2.1
Sending Messages................................................................................ 940
46.2.2
Receiving Messages .............................................................................. 943
46.3
Message Queue Control Operations............................................................................ 947
46.4
Message Queue Associated Data Structure .................................................................. 948
46.5
Message Queue Limits ............................................................................................... 950
46.6
Displaying All Message Queues on the System ............................................................. 951
46.7
Client-Server Programming with Message Queues ......................................................... 953
46.8
A File-Server Application Using Message Queues.......................................................... 955
46.9
Disadvantages of System V Message Queues ............................................................... 961
46.10 Summary.................................................................................................................. 962
46.11 Exercises .................................................................................................................. 963

tải về 6.93 Mb.

Chia sẻ với bạn bè của bạn:
1   ...   29   30   31   32   33   34   35   36   ...   806




Cơ sở dữ liệu được bảo vệ bởi bản quyền ©hocday.com 2024
được sử dụng cho việc quản lý

    Quê hương