#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 *) |
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.
id_parent | Id of the parent disp. Used for getting the switch- setting. Set it to -1 to create the root-window. |
References disp_by_nr(), os_thread_create(), scope_alloc(), scope_free(), and scope_thread().