Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #14540
| From | Alain Ketterlin <alain@dpt-info.u-strasbg.fr> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: Troubles when processes try to access to a char device |
| Date | 2012-02-27 14:38 +0100 |
| Organization | Universites Paris VI/Paris VII - France |
| Message-ID | <87aa445rca.fsf@dpt-info.u-strasbg.fr> (permalink) |
| References | <4f4b37c7$1@extreme.x-privat.org> |
Willy <gruppi@willygroup.org> writes: > I'm building a multi process application under Linux. > > In the main process I initialize a char device and put is file > descriptor in a variable dev_fd in the shared memory area. This can't work: a file descriptor is an index into a process-local table of open files. It makes no sense to share descriptors between processes. BTW, this has absolutely nothing to do with the C++ language. Please direct your questions to a forum dedicated to basic unix programming. -- Alain.
Back to comp.lang.c++ | Previous | Next — Previous in thread | Find similar | Unroll thread
Troubles when processes try to access to a char device Willy <gruppi@willygroup.org> - 2012-02-27 08:58 +0100
Re: Troubles when processes try to access to a char device gwowen <gwowen@gmail.com> - 2012-02-27 05:19 -0800
Re: Troubles when processes try to access to a char device Willy <gruppi@willygroup.org> - 2012-02-27 14:41 +0100
Re: Troubles when processes try to access to a char device gwowen <gwowen@gmail.com> - 2012-02-27 07:08 -0800
Re: Troubles when processes try to access to a char device Willy <gruppi@willygroup.org> - 2012-02-27 16:42 +0100
Re: Troubles when processes try to access to a char device gwowen <gwowen@gmail.com> - 2012-02-27 09:29 -0800
Re: Troubles when processes try to access to a char device Dan Oxender <d?n.oxe????@gmail.com> - 2012-02-28 09:06 -0700
Re: Troubles when processes try to access to a char device Alain Ketterlin <alain@dpt-info.u-strasbg.fr> - 2012-02-27 14:38 +0100
csiph-web