scope.h File Reference

#include <l4/dope/dopelib.h>
#include "threadinfo.h"
#include "os.h"

Go to the source code of this file.

Data Structures

struct  scope_t

Defines

#define SCOPE_COUNT   (sizeof(int)*8)

Enumerations

enum  scope_disp_t { SCOPE_RELLOAD, SCOPE_RELTIME }

Functions

int scope_init (void)
int scope_create (int id_parent, int width, int height)
 Generate a new window from the selected threads of a parent.
void scope_lock (scope_t *)
void scope_unlock (scope_t *)


Detailed Description

Date:
02/09/2004
Author:
Jork Loeser <jork.loeser@inf.tu-dresden.de>

Function Documentation

int scope_create ( int  id_parent,
int  width,
int  height 
)

Generate a new window from the selected threads of a parent.

No reference is held to the parent, so the parent can be destroyed when this function returned.

Parameters:
id_parent Id of the parent disp. Used for getting the switch- setting. Set it to -1 to create the root-window.
Returns:
>=0 on success, -1 on error

References disp_by_nr(), os_thread_create(), scope_alloc(), scope_free(), and scope_thread().


Generated on Wed Apr 11 06:39:34 2012 for JTop - Top for DROPS by  doxygen 1.5.6