Skip to content
Snippets Groups Projects
Commit d34e4d23 authored by Eckl, Máté's avatar Eckl, Máté
Browse files

Kis változtatás

parent 47d1f284
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -13,18 +13,20 @@ heap::~heap()
memnum heap::findfit(memnum block_size)
{
//egy maximum kiválasztási tétel
}
memnum heap::allocate(memnum block_size)
{
memnum idx=findfit(block_size);
/*
* meg kell írni a blokk paramétereinek beállítását
* és adott esetben a blokk összes tagjának módosítását.
*/
return idx;
}
void heap::free(memnum pid)
{
//az allocate inverze
}
......@@ -4,7 +4,9 @@
test_container::~test_container()
{
//az iterálást a végén még tesztelni kell
for(proc_test* i=list_head,* j=i->get_next();i!=NULL;i=j,j=j->get_next())
for( proc_test *i=list_head, *j=i->get_next();
i!=NULL;
i=j, j=j->get_next() )
{
delete i;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment