Changeset 31696b4f in mainline for kernel/generic/include/ipc


Ignore:
Timestamp:
2008-11-23T10:59:21Z (17 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
50e5b25
Parents:
0aa1665
Message:

Move stuff related to kbox to a separate struct.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/ipc/kbox.h

    r0aa1665 r31696b4f  
    3838#include <typedefs.h>
    3939
     40/** Kernel answerbox structure. */
     41typedef struct kbox {
     42        /** The answerbox itself. */
     43        answerbox_t box;
     44        /** Thread used to service the answerbox. */
     45        struct thread *thread;
     46        /** Kbox thread creation vs. begin of cleanup mutual exclusion. */
     47        mutex_t cleanup_lock;
     48        /** True if cleanup of kbox has already started. */
     49        bool finished;
     50} kbox_t;
     51
    4052extern int ipc_connect_kbox(task_id_t);
    4153extern void ipc_kbox_cleanup(void);
Note: See TracChangeset for help on using the changeset viewer.