Subversion Repositories HelenOS

Rev

Rev 3471 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3471 Rev 3623
Line 35... Line 35...
35
#ifndef KERN_IPC_KBOX_H_
35
#ifndef KERN_IPC_KBOX_H_
36
#define KERN_IPC_KBOX_H_
36
#define KERN_IPC_KBOX_H_
37
 
37
 
38
#include <typedefs.h>
38
#include <typedefs.h>
39
 
39
 
-
 
40
/** Kernel answerbox structure. */
-
 
41
typedef 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
 
40
extern int ipc_connect_kbox(task_id_t);
52
extern int ipc_connect_kbox(task_id_t);
41
extern void ipc_kbox_cleanup(void);
53
extern void ipc_kbox_cleanup(void);
42
 
54
 
43
#endif
55
#endif
44
 
56