Changeset c28413a9 in mainline for kernel/generic/include/adt/cht.h


Ignore:
Timestamp:
2012-11-20T18:50:04Z (12 years ago)
Author:
Adam Hraska <adam.hraska+hos@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ba368a6
Parents:
669f3d32
Message:

cht: Added cht_create_simple(). cht_create() can now block until memory is available.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/adt/cht.h

    r669f3d32 rc28413a9  
    132132#define cht_read_unlock()   rcu_read_unlock()
    133133
     134extern bool cht_create_simple(cht_t *h, cht_ops_t *op);
    134135extern bool cht_create(cht_t *h, size_t init_size, size_t min_size,
    135         size_t max_load, cht_ops_t *op);
     136        size_t max_load, bool can_block, cht_ops_t *op);
    136137extern void cht_destroy(cht_t *h);
    137138
Note: See TracChangeset for help on using the changeset viewer.