AnsweredAssumed Answered

Implementing Mutex

Question asked by YanikM on Sep 7, 2016
Latest reply on Sep 16, 2016 by Kader.M

Hello!

Is there a library function for ADSP SC584 processor that can be used to implement a lock/mutex? I've noticed something in Blackfin tools manual :

 

 adi_acquire_lock, adi_try_lock, adi_release_lock

void adi_acquire_lock(testset_t *lockptr);
int adi_try_lock(testset_t *lockptr); 
void adi_release_lock(testset_t *lockptr); 

I haven't seen anything similar in  SHARC tools.

I'm using ADZS-SC584-EZLITE kit with CCES 2.3.0.

 

Thanks!

Outcomes