Thread View: comp.sys.next.programmer
1 messages
1 total messages
Started by Robert Berger
Wed, 09 Sep 1992 04:37
Allocating ports in kernel servers
Author: Robert Berger
Date: Wed, 09 Sep 1992 04:37
Date: Wed, 09 Sep 1992 04:37
13 lines
852 bytes
852 bytes
How do I allocate a port from within a kernel server? The documention for hmap lists the following: /* Create the port. */ r = port_allocate((task_t)task_self(), &port_name); which can't possibly work, since task_self is not defined in the kernel. I tried various combinations of current_task() and convert_task_to_port(), none of which worked. Could someone who has done this tell me how?
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads