In general, these work by trying to abstract away API features to a new level and then providing a generic API on top of that.
通常,它们都是通过尝试将API特性抽象到一个新层次上,然后在此基础上提供一个通用的API。
This option in particular demonstrates how the event iterator-based API stacks (no pun intended) on top of the cursor-based API.
这种用法可以很好地说明基于事件迭代器的API如何堆叠于基于指针的API之上。
The kernel mutex is implemented on top of the atomic API, though this is not visible to the kernel user.
内核互斥锁是在原子api之上实现的,但这对于内核用户是不可见的。
应用推荐