/tmp/l4check/full_tree/trunk/l4/pkg/dde_linux/lib/src/process.c File Reference

Process Level. More...

#include <l4/env/errno.h>
#include <l4/thread/thread.h>
#include <l4/dde_linux/dde.h>
#include <linux/sched.h>
#include "__config.h"
#include "internal.h"

Go to the source code of this file.

Classes

struct  kernel_thread_data
 Kernel thread startup helper. More...

Functions

struct task_struct * get_current ()
 Get pointer to current task structure

This replaces the "current" macro.

int l4dde_process_add_worker ()
 Add caller as new process level worker.
int l4dde_process_remove_worker ()
 Remove a caller as process level worker.
int l4dde_process_init ()
 Initalize process module.
static void __start_kernel_thread (struct kernel_thread_data *data)
 Kernel thread startup helper.
long kernel_thread (int(*fn)(void *), void *arg, unsigned long flags)
 Create kernel thread.

Variables

static int _key = -L4_ENOKEY
 thread data key for "current" data
static struct task_struct _data = INIT_TASK(_data)
 initial task structure
static int _initialized = 0
 initialization flag


Detailed Description

Process Level.

Date:
08/28/2003
Author:
Christian Helmuth <ch12@os.inf.tu-dresden.de>

Definition in file process.c.


Linux DDE, written by Christian Helmuth  © 2003 Technische Universitaet Dresden