diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-06-23 09:13:55 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-06-23 09:13:55 +0200 |
commit | b5cdb953370e1868c6c030c9aca61f5e0d5aaaa8 (patch) | |
tree | c87758867315fbd769a9d6b742da94521fb3979f /testsuite/condvar01 | |
parent | rtems-bsd-mutex: Fix resource count updates (diff) | |
download | rtems-libbsd-b5cdb953370e1868c6c030c9aca61f5e0d5aaaa8.tar.bz2 |
condvar01: Initialize mutex
Diffstat (limited to 'testsuite/condvar01')
-rw-r--r-- | testsuite/condvar01/test_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/condvar01/test_main.c b/testsuite/condvar01/test_main.c index 53c98152..09c08fa4 100644 --- a/testsuite/condvar01/test_main.c +++ b/testsuite/condvar01/test_main.c @@ -371,6 +371,7 @@ test_main(void) rtems_resource_snapshot_take(&snapshot); + mtx_init(&ctx->mtx, "test", NULL, MTX_DEF); cv_init(&ctx->cv, "test"); assert(strcmp(cv_wmesg(&ctx->cv), "test") == 0); |