Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ The Kernel Kit: The Kernel Kit

Media Vault

Software Library

Restoration Projects

Artifacts Sought

The Kernel Kit: The Kernel Kit


The Kernel Kit Table of Contents The Kernel Kit Index

The Kernel Kit

The Kernel Kit is a collection of C functions that let you define and control the contexts in which your application operates. There are five main topics in the Kit:

  • Threads and Teams

    . A thread is a synchronous computer process. By creating multiple threads, you can make your application perform different tasks at (virtually) the same time. A team is the collection of threads that your application creates.

  • Ports

    . A port can be thought of as a mailbox for threads: A thread can write amessage to a port, and some other thread (or, less usefully, the same thread) can then retrieve the message.

  • Semaphores

    . A semaphore is a system-wide counting variable that can be used asa lock that protects a piece of code. Before a thread is allowed to execute the code, it must acquire the semaphore that guards it. Semaphores can also be used to synchronize the execution of two or more threads.

  • Areas

    . The area functions let you allocate large chunks of virtual memory. Thetwo primary features of areas are: They can be locked into the CPU's on-chip memory, and the data they hold can be shared between applications.

  • Images

    . An image is compiled code that can be dynamically linked into a runningapplication. By loading and unloading images you can make run-time decisions about the resources that your application has access to. Images are of particular interest to driver designers.

The rest of this chapter describes these topics in detail. The final two sections...

  • System and Time Information

    and

  • Miscellaneous Functions and Constants

...fill in the gaps.


The Kernel Kit Table of Contents The Kernel Kit Index


The Be Book,
...in lovely HTML...
for BeOS Release 4.5.

Copyright © 1999 Be, Inc. All rights reserved.

Text last modified

June 4, 1999.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026