![]() All threads suspended waiting for a memory block from this pool are resumed and given a TX_DELETED return status. This service deletes the specified block-memory pool. tx_block_pool_prioritize, tx_block_releaseĭelete memory block pool Prototype UINT tx_block_pool_delete(TX_BLOCK_POOL *pool_ptr).tx_block_pool_info_get, tx_block_pool_performance_info_get.tx_block_allocate, tx_block_pool_delete.The reason there are not 20 blocks in the pool isīecause of the one overhead pointer associated with each block. * If status equals TX_SUCCESS, my_pool contains 18 memory blocks Status = tx_block_pool_create(&my_pool, "my_pool_name", ![]() Each block in this pool is defined to be 50 bytes * Create a memory pool whose total size is 1000 bytes starting atĪddress 0x100000. Initialization and threads Preemption Possible
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |