diff options
author | Thomas Bushnell <thomas@gnu.org> | 1996-08-12 18:31:04 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1996-08-12 18:31:04 +0000 |
commit | 9474c6318ad2effa3e80246d1012cb111e726bf0 (patch) | |
tree | b1f5dbfbd38913dcc4ebf721f81443472937dec0 /libports/ports.h | |
parent | 4b4fc640461f0f6e152204deda38a4e9272fe9e1 (diff) | |
download | hurd-9474c6318ad2effa3e80246d1012cb111e726bf0.tar.gz hurd-9474c6318ad2effa3e80246d1012cb111e726bf0.tar.bz2 hurd-9474c6318ad2effa3e80246d1012cb111e726bf0.zip |
*** empty log message ***
Diffstat (limited to 'libports/ports.h')
-rw-r--r-- | libports/ports.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libports/ports.h b/libports/ports.h index 2d52daa4..aba53a4d 100644 --- a/libports/ports.h +++ b/libports/ports.h @@ -162,6 +162,18 @@ error_t ports_create_port (struct port_class *class, struct port_bucket *bucket, size_t size, void *result); + +/* Just like ports_create_port, except don't actually put the port + into the portset underlying BUCKET. This is intended to be used + for cases where the port right must be given out before the port is + fully initialized; with this call you are guaranteed that no RPC + service will occur on the port until you have finished initializing + it and installed it into the portset yourself. */ +error_t +ports_create_port_noinstall (struct port_class *class, + struct port_bucket *bucket, + size_t size, + void *result); /* For an existing RECEIVE right, create and return in RESULT a new port structure; BUCKET, SIZE, and CLASS args are as for ports_create_port. */ @@ -376,5 +388,7 @@ extern int _ports_flags; #define _PORTS_BLOCKED PORTS_BLOCKED #define _PORTS_INHIBIT_WAIT PORTS_INHIBIT_WAIT void _ports_complete_deallocate (struct port_info *); +error_t _ports_create_port_internal (struct port_class *, struct port_bucket *, + size_t, void *, int); #endif |