“命名管道”或“命名管線”(Named Pipes )是一種簡單的進程間通信( I P C)機制,
Microsoft Windows NT,Windows 2000、Windows 95以及Windows 98均提供了對它的支持
(但不包括Windows CE)。命名管道可在同一臺計算機的不同進程之間,或在跨越一個網絡的
不同計算機的不同進程之間,支持可靠的、單向或雙向的數據通信。
· Develop clear, readable, well-documented and well-designed programs in the C Programming Language.
· Develop software in the Unix/Linux using tools such as gcc, gdb, and make.
· Locate and interpreting “man pages” applicable to application-level system programming.
· Use the POSIX/Unix API to system functions to manage process and sessions as well as use signals and Pipes for inter-process communication.
· Understanding how synchronization might become problematic in light of concurrency.
· Understand how to communicate and cooperate with a project partner.
EXAMPLE SOURCE CODE FOR IMPLIB FILTER
This filter accepts input through the standard input stream, convertsit and outputs it to the standard output am. The streams are linkedthrough Pipes, such that the input stream is the output from the import librarian being invoked, and the output stream is connected to the message window of the IDE, ie.
EXAMPLE SOURCE CODE FOR TASM FILTER
his filter accepts input through the standard input stream, converts it and outputs it to the standard output stream. The streams are linked
through Pipes, such that the input stream is the output from the assembler
being invoked, and the output stream is connected to the message window of the IDE, ie.
This the third edition of the Writing Device Drivers articles. The first article helped to simply get you acquainted with device drivers and a simple framework for developing a device driver for NT. The second tutorial attempted to show to use IOCTLs and display what the memory layout of Windows NT is. In this edition, we will go into the idea of contexts and pools. The driver we write today will also be a little more interesting as it will allow two user mode applications to communicate with each other in a simple manner. We will call this the “poor man’s Pipes” implementation.
PTypes (C++ Portable Types Library) is a simple alternative to the STL that includes multithreading and networking. It defines dynamic strings, variants, character sets, lists and other basic data types along with threads, synchronization objects, IP sockets and named Pipes. PTypes also offers message queues as an alternative method of thread synchronization. Its main `target audience is developers of complex network daemons, robots or non-visual client/server applications of any kind