<div dir="ltr">Hi all,<br><br>this patch adds a data structure called freelist to score, there are no test cases yet and should be added later. <br><br>Freelist is a structure, which contains a chain of nodes. It supports 2 operation: <br>
- get node from freelist<br>- put node to freelist. <br>
And when there is no enough node in freelist, it will automatically increase itself's size by allocate more nodes from heap or workspace(which is specified by user). And the size of new allocated nodes is specified by user when structure initialization. When initializing, freelist would pre-allocate a bunch of nodes, which size is also can be specified by user.<br>
<br>By the way, the part of motivation of adding this data structure is to make RTEMS POSIX Key(this patch will be posted later) unlimited mode more efficient.<br><br>Thanks,<br>Zhongwei<br></div>