2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 Original version from libnix
9 /*****************************************************************************
12 #include <proto/alib.h>
38 06.12.96 digulla Created after original from libnix
40 ******************************************************************************/
43 if (SysBase
->LibNode
.lib_Version
>= 39)
44 return (CreatePool (requirements
, puddleSize
, threshSize
));
49 if (threshSize
<= puddleSize
)
51 if ((pool
= (POOL
*)AllocMem (sizeof (POOL
), MEMF_ANY
)) != NULL
)
53 NEWLIST (&pool
->PuddleList
);
55 puddleSize
= ((puddleSize
+ 7) & ~7);
57 pool
->MemoryFlags
= requirements
;
58 pool
->PuddleSize
= puddleSize
;
59 pool
->ThreshSize
= threshSize
;