Practical RTOS Internals
Memory Pool — Fixed-Size Block Allocator의 단순함과 강력함
같은 크기 객체를 다수 alloc/free하는 패턴을 위한 fixed-size pool입니다. free list 구조, O(1) 보장, per-class pool, lock-free 변형까지 실전 패턴을 정리합니다.
· 8분 읽기
pool fixed-size
2개의 포스트
같은 크기 객체를 다수 alloc/free하는 패턴을 위한 fixed-size pool입니다. free list 구조, O(1) 보장, per-class pool, lock-free 변형까지 실전 패턴을 정리합니다.
고정 크기 블록 + free list — 임베디드의 표준 allocator 구현.