| 68 | |
| 69 | {{{ |
| 70 | ------------------------------------------------------------------------------ |
| 71 | | Semaphore Tree data structure | |
| 72 | ------------------------------------------------------------------------------ |
| 73 | |
| 74 | A ctive _________ Free list |
| 75 | S emaphore | | ._______. |
| 76 | T ree | DUMMY | | |
| 77 | ._________. |_________| \|/ |
| 78 | | |____|____| V |
| 79 | \|/ .....' `........................ |
| 80 | ~log(n) V : : |
| 81 | __ _____ _____ |
| 82 | | | | | | |
| 83 | | |_____| |_____| |
| 84 | | ........' `............. .' |
| 85 | | : : : |
| 86 | | _____ _____ _____ |
| 87 | | | | | | | | |
| 88 | | |_____| |_____| |_____| |
| 89 | | .....' `..... `..... .' |
| 90 | | : : : : |
| 91 | | _____ _____ _____ _____ |
| 92 | | | | | | | | | | |
| 93 | | |_____| |_____| |_____| |_____| |
| 94 | : . . . . . . |
| 95 | : . . . . . . |
| 96 | . ..... ..... ..... ..... ..... ..... |
| 97 | . : : : : : : : : : : : : |
| 98 | }}} |