Mercurial > flash_v2
diff packages/kernel/current/src/common/kapi.cxx @ 38:e7ba79f6d3a8 ecos-sw-1999-09-23
Merge from eCos master repository on 1999-09-23-20:10:25-BST
| author | jlarmour |
|---|---|
| date | Thu, 23 Sep 1999 19:52:27 +0000 |
| parents | d3fbcdfa1b2f |
| children | 755351606154 |
line wrap: on
line diff
--- a/packages/kernel/current/src/common/kapi.cxx +++ b/packages/kernel/current/src/common/kapi.cxx @@ -1005,7 +1005,7 @@ externC void cyg_mutex_init( externC void cyg_mutex_destroy( cyg_mutex_t *mutex ) { - // no need to do anything here + ((Cyg_Mutex *)mutex)->~Cyg_Mutex(); } externC cyg_bool_t cyg_mutex_lock( cyg_mutex_t *mutex ) @@ -1045,7 +1045,7 @@ externC void cyg_cond_init( externC void cyg_cond_destroy( cyg_cond_t *cond ) { - ((Cyg_Counting_Semaphore *)cond)->~Cyg_Counting_Semaphore(); + ((Cyg_Condition_Variable *)cond)->~Cyg_Condition_Variable(); } externC void cyg_cond_wait( cyg_cond_t *cond )
