Changeset c28413a9 in mainline for kernel/generic/src/synch/futex.c


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/src/synch/futex.c

    r669f3d32 rc28413a9  
    133133        task->futexes = malloc(sizeof(struct futex_cache), 0);
    134134       
    135         /* todo: make it block until mem is available */
    136         bool ret = cht_create(&task->futexes->ht, 0, 0, 0, &task_futex_ht_ops);
    137         ASSERT(ret);
     135        cht_create(&task->futexes->ht, 0, 0, 0, true, &task_futex_ht_ops);
    138136}
    139137
Note: See TracChangeset for help on using the changeset viewer.