I wanted to have a look at the following page:
http://staff.qnx.com/~thomasf/wtf-resmgr.html
Is it possible to find it somewhere?
Thanks,
Alain.
I wanted to have a look at the following page:
http://staff.qnx.com/~thomasf/wtf-resmgr.html
Is it possible to find it somewhere?
Thanks,
Alain.
All of the staff pages staff.qnx.com/~someone have gone for a Burton.
What gives?
Poseidon
Hi…
Some of it is at developers.qnx.com
Bests…
Miguel.
Poseidon wrote:
All of the staff pages staff.qnx.com/~someone have gone for a Burton.
What gives?Poseidon
Miguel Simon
Research Engineer
School of Aerospace and Mechanical Engineering
University of Oklahoma
http://www.amerobotics.ou.edu/
http://www.saic.com
I don’t think QSSL is doing the right thing of shutting down
staff.qnx.com. Maybe Redhat should also shutdown people.redhat.com too,
with the same argument?
I am still looking for the SHM stuff from Kris, to try it with my
XFree86 port. developers.qnx.com just doesn’t have much in there.
Frank
On Fri, 12 Oct 2001, Miguel Simon wrote:
Hi…
Some of it is at developers.qnx.com
Bests…
Miguel.
Poseidon wrote:All of the staff pages staff.qnx.com/~someone have gone for a Burton.
What gives?Poseidon
–
my opinions are mine, only mine, solely mine, and they are not related
in any possible way to the institution(s) in which I study and work.Miguel Simon
Research Engineer
School of Aerospace and Mechanical Engineering
University of Oklahoma
http://www.amerobotics.ou.edu/
http://www.saic.com
I agree.
Hell, there’s been unsupported (and somewhat untested) stuff on QUICS for
years.
So, let the buyer beware, but don’t take away our goodies.
Bill Caroselli
“Frank Liu” <liug@mama.indstate.edu> wrote in message
news:Pine.LNX.4.33.0110121127410.13153-100000@mama.indstate.edu…
I don’t think QSSL is doing the right thing of shutting down
staff.qnx.com. Maybe Redhat should also shutdown people.redhat.com too,
with the same argument?I am still looking for the SHM stuff from Kris, to try it with my
XFree86 port. developers.qnx.com just doesn’t have much in there.
Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote:
I wanted to have a look at the following page:
http://staff.qnx.com/~thomasf/wtf-resmgr.htmlIs it possible to find it somewhere?
Alain (and the crowd that followed),
The developer run pages will at some point be making a
comeback, when that will be has not yet been determined
(ie beyond my personal control). Developers.qnx.com is
the official source for non-official source packages
(ala old style quics). For developer controlled content
pages … stay tuned.
In the mean time here is the resmgr page you requested.
Resmgrs rock … plain and simple. Sometimes, usually
late at night, things just don’t seem to always make sense.
This is just a collection of some of the more interesting
(and occasionally intersting) questions
that people have vented out as they work their way to resmgr
writing nirvana.
If you have a question you think should be posted, then mail
it to thomasf@qnx.com to
get it posted and get famous!
For more information above and beyond this take a good read through
the “Writing a Resource Manager” section of the Programmer’s Guide.
\
#define __DIOF(class, cmd, data) ((sizeof(data)<<16) + ((class)<<8) + (cmd) + _POSIX_DEVDIR_FROM) #define __DIOT(class, cmd, data) ((sizeof(data)<<16) + ((class)<<8) + (cmd) + _POSIX_DEVDIR_TO) #define __DIOTF(class, cmd, data) ((sizeof(data)<<16) + ((class)<<8) + (cmd) + _POSIX_DEVDIR_TOFROM) with #define _POSIX_DEVDIR_NONE 0 #define _POSIX_DEVDIR_TO 0x80000000 #define _POSIX_DEVDIR_FROM 0x40000000
typedef union { struct _io_ i struct _io__reply o } io__t
These messages are all defined in the header file <sys/iomsg.h>
which makes for some very intersting and occasionally insightful
reading.
For more information on pathname resolution you might want to search
QDN for an article which explains
how the Neutrino filesystem resolves names to particular servers.
The way that the matching is done is through the following matrix:
Server file_type | ||||
Client file_type |
_FTYPE_ALL (-1) | _FTYPE_ANY (0) | _FTYPE_XXX (>0) | |
---|---|---|---|---|
_FTYPE_ALL (-1) | Illegal | Illegal | Illegal | |
_FTYPE_ANY (0) | Contact | Contact | Contact | |
_FTYPE_XXX (>0) | Contact | Ignore | (types match) ? Contact : Ignore |
The all standard file operations (open, stat, unlink etc) are performed with a
file type of _FTYPE_ANY which all resource managers receive. Special connection
operations such as mq_open() or sem_open() are performed targetting a specific
service, and as such use a specific file_type of _FTYPE_MQUEUE or _FTYPE_SEM.
There is no conventional way through the currently documented API to take
advantage of this service/file_type provision.
#include /* For ALIGN and ALIGNBYTES */ ... struct dirent *dent; int reclen;/*
Determine the size of the next entry and make sure that we have
enough space for it. Make sure to include the alignment adjustment
(even though the last entry to be sent doesn’t need it). Note that
the length of the string does not include an extra character for
the null, because this extra null character is already accounted for
in the dirent structure (name[1]).
*/
reclen = ALIGN(sizeof(*dent) + strlen(fname));
if (nbytes < reclen) {
break;
}/* Fill in the dirent structure now that we know we have space /
dent->d_ino = some_inode_value;
dent->d_offset = some_offset_value;
/ This is the aligned record length /
dent->d_reclen = reclen;
/ This is the name length, name is null terminated but this is a hint */
dent->d_namelen = strlen(fname);
strcpy(dent->d_name, fname);dent = (struct dirent *) ((char *)dent + dent->d_reclen);
Thomas Fletcher -- QNX](http://www.qnx.com/products/os/neutrino.html%22%3EQNX) Neutrino Development Group
, http://www.qnx.com/~thomasf The opinions expressed on this page are those of Thomas Fletcher and not QNX Software Systems
<thomasf@qnx.com> wrote in message news:9qf5sb$3j8$1@nntp.qnx.com…
Alain (and the crowd that followed),
The developer run pages will at some point be making a
comeback, when that will be has not yet been determined
(ie beyond my personal control). Developers.qnx.com is
the official source for non-official source packages
(ala old style quics). For developer controlled content
pages … stay tuned.“Offically, unofficial”?
“Protocol”, right?
Or is this subject really most sencerely dead?