vpage to be nearly a TLB entry. Final stripping will occur with kernel integration. More comments. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3042 a95241bf-73f2-0310-859d-f6bbb57e9c96
20 lines
286 B
C++
20 lines
286 B
C++
#include <OS.h>
|
|
#include "lockedList.h"
|
|
class area;
|
|
class poolarea
|
|
{
|
|
private:
|
|
lockedList unused;
|
|
sem_id inUse;
|
|
public:
|
|
// Constructors and Destructors and related
|
|
poolarea(void) { }
|
|
|
|
// Mutators
|
|
area *get(void);
|
|
void put(area *in) {
|
|
unused.add((node *)in);
|
|
}
|
|
|
|
};
|