High priority list
-------------------------------------
+0) Fix objstr issues...
+ A) allocations always have to traverse to end of list
+ B) do we need to zero first?? -- need to check about this one, it may be okay
+
1) Wrap all receive calls in loops
A) Perhaps the best way is to just define a macro or function call that
does this. Look at GETSIZE macro for example...
{
objstr_t *tmp = malloc(sizeof(objstr_t) + size);
tmp->size = size;
+ tmp->next = NULL;
tmp->top = tmp + 1; //points to end of objstr_t structure!
return tmp;
}
if (store->next == NULL)
return NULL;
store = store->next;
+ store->next = NULL;
store->size = DEFAULT_OBJ_STORE_SIZE;
}
store->top = (void *)((unsigned int)store + sizeof(objstr_t) + size);