Mach IPC


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Mach IPC
# 8  
Old 11-24-2010
OK, I think I have found what you talking about. It is on the actual page 32 of the document (what you call page 36 probably because that is what your PDF reader says it is).
Quote:
Ports, themselves, are not named. It is the port rights that are. A port right can only be
named by being contained within a port name space. A port is specified by a port name
which is an index into a port name space. Each task has associated with it a port name
space.
The document certainly states here and elsewhere that "A port is specified by a port name which is an index into a port name space." which is correct.

A port name is an "index into a port name space." This is not the same as saying that ports have names. See the paragraph immediately under Fig 3 on page 28 and Fig. 4 on page 31.
# 9  
Old 11-25-2010
OK, I think I understand that part. So does this mean that port names and port rights are the same thing and also what exactly is a port(as in what is its role in relation all the rest concepts)?
# 10  
Old 11-26-2010
No, port name and port rights are not the same thing.

Quote:
what exactly is a port(as in what is its role in relation all the rest concepts)?
Humm, the referenced document clearly defines in detail exactly what a port is. You need to read and re-read this document until you understand the concepts.
# 11  
Old 11-26-2010
oh, I think I understand now. A port is sort of like a "node" that channels(port rights) connect to and a port name is an identifier stored in the port namespace that is used sort of like a "container", to "group" all the associated rights.

Last edited by neur0n; 11-26-2010 at 08:05 PM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

egrep line with perfect mach

Hi Input File A L006 AL01 0 (OCK) L006 A006 0 (OCK) L011 AR11 1 (NLOCK) Input File B L006 AL01 0 (OCK) L006 A006 0 (OCK) Need Egrep Command for perfect Match Thanks (4 Replies)
Discussion started by: asavaliya
4 Replies

2. UNIX for Dummies Questions & Answers

Mach drivers

hello everyone, can anyone tell me what drivers the Mach kernel works with. I'm thinking about experimenting with the Mach kernel, and yes I know there are other kernels that are easier to work with but I just want to use the Mach kernel. So with that being said, can the Mach kernel work with... (11 Replies)
Discussion started by: neur0n
11 Replies

3. Solaris

errors on Netra-440: "IPC Warning: ipc: tcp_protocol: bad magic number"

I was asked to look into a problem with a Sun Netra 440 in another department. On the server in question, the relevant 'uname -a' information is, "SunOS host1 5.9 Generic_118558-16 sun4u sparc SUNW,Netra-440". That information aside, while the other admin is logged into the ALOM, these errors are... (0 Replies)
Discussion started by: Borealis
0 Replies

4. Shell Programming and Scripting

Help to mach "usb" exactly with sed or awk

HI experts I updated my question here to eg: $cat file ABC: abc ABC FDFD USB: usb usb_name usb_disk usbdriver USB PA: PA pa paa I want to how many usb exactly matched(not match usb_name or usbdriver) in the line cotains"USB:" thanks in advance (19 Replies)
Discussion started by: yanglei_fage
19 Replies

5. UNIX for Dummies Questions & Answers

Compiling Mach 3.0 Kernel

Hi, I am very new to this. I would like to compile the Mach 3.0 kernel. Can someone explain, step-by-step, how to turn all the Mach 3.0 kernel code into a single binary file that will run directly on an x86 computer? Also, once (and if) I get it working, what software works on it? My goal is... (2 Replies)
Discussion started by: dublinus
2 Replies

6. Programming

[C] Problem with IPC

Hi! I'm trying to write this program: in my intentions it should get a message and send it to a second process (pid_upost), then to a third process (pid1, pid2, pid3, depending on the choice made when a new message is inserted). This program should write the message in a file (message1, message2 or... (1 Reply)
Discussion started by: Kaminski
1 Replies

7. Programming

state mach{ne...

hi, I am looking for some info on how can we implement state machines. Conceptually it appears to be good but while implementing it causes lot of confusion.. I have some doubts regarding this concept. (my explanation may look wired, as I am also not clear on this front) The commonly... (2 Replies)
Discussion started by: parasa
2 Replies

8. UNIX for Dummies Questions & Answers

Ipc

I have a parent that is passing data to child A and then child A has to process it and pass to child B. I am able to pass the data to child A but am not able to pass it to child B. Child B seems to only be receiving the last data instead of the whole data. I saw one example in a book but it uses... (1 Reply)
Discussion started by: scmay
1 Replies
Login or Register to Ask a Question