Annotation of Gnu-Mach/include/mach/task_notify.defs, revision 1.1.1.2

1.1       root        1: /*
                      2:  * Copyright (C) 2014 Free Software Foundation
                      3:  *
                      4:  * This program is free software; you can redistribute it and/or modify
                      5:  * it under the terms of the GNU General Public License as published by
                      6:  * the Free Software Foundation; either version 2 of the License, or
                      7:  * (at your option) any later version.
                      8:  *
                      9:  * This program is distributed in the hope that it will be useful,
                     10:  * but WITHOUT ANY WARRANTY; without even the implied warranty of
                     11:  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                     12:  * GNU General Public License for more details.
                     13:  *
                     14:  * You should have received a copy of the GNU General Public License
                     15:  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
                     16:  */
                     17: 
                     18: subsystem
                     19: #if    KERNEL_SERVER
                     20:          KernelServer
                     21: #endif /* KERNEL_SERVER */
                     22: #if    KERNEL_USER
                     23:          KernelUser
                     24: #endif /* KERNEL_USER */
                     25:                       task_notify 4400;
                     26: 
                     27: #include <mach/std_types.defs>
                     28: #include <mach/mach_types.defs>
                     29: 
1.1.1.2 ! root       30: type task_notify_port_t = mach_port_t
        !            31:        ctype: mach_port_t
        !            32: #ifdef TASK_NOTIFY_INTRAN
        !            33:        intran: TASK_NOTIFY_INTRAN
        !            34: #endif
        !            35: #ifdef TASK_NOTIFY_INTRAN_PAYLOAD
        !            36:        intranpayload: TASK_NOTIFY_INTRAN_PAYLOAD
        !            37: #endif
        !            38: #ifdef TASK_NOTIFY_OUTTRAN
        !            39:        outtran: TASK_NOTIFY_OUTTRAN
        !            40: #endif
        !            41: #ifdef TASK_NOTIFY_DESTRUCTOR
        !            42:        destructor: TASK_NOTIFY_DESTRUCTOR
        !            43: #endif
        !            44: ;
        !            45: 
        !            46: #ifdef TASK_NOTIFY_IMPORTS
        !            47: TASK_NOTIFY_IMPORTS
        !            48: #endif
        !            49: 
        !            50: type task_move_t = MACH_MSG_TYPE_MOVE_SEND
        !            51:                ctype: mach_port_t;
        !            52: 
1.1       root       53: /* These notifications are sent to the port registered via
                     54:    `register_new_task_notification' and provide a robust parental
                     55:    relation between tasks.  */
                     56: simpleroutine mach_notify_new_task(
1.1.1.2 ! root       57:                notify  : task_notify_port_t;
        !            58:                task    : task_move_t;
        !            59:                parent  : task_move_t);

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.