Is DCT read / write thread-safe ?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
JeGu_2199941
Level 5
Level 5
25 likes received 10 likes received 10 likes given

I'm doing with BCM94343W, SDK 4.0.1. (internal DCT)

I just want to verify for 100% sure, since the code doesn't look like thread-safe to me.

Assume DCT is not thread-safe.

For our code we can use customized DCT routines that work with a mutex.

But what about all other code & binaries provided in stock SDK?

Is it enough if I naively protect WICED API <wiced_dct_write> with a mutex?

Are there other function calls (by networking / BLE or else) that also modifies DCT?

0 Likes
1 Solution

You can use lock or delegate real access to a given thread.

But you probably don't need to care that much because usually

you won't frequently access the DCT.

View solution in original post

0 Likes
3 Replies
AxLi_1746341
Level 7
Level 7
10 comments on KBA 5 comments on KBA First comment on KBA

It's not thread safe at all.

0 Likes

Thx for comment.

So do you have any suggestion to make it safe?

0 Likes

You can use lock or delegate real access to a given thread.

But you probably don't need to care that much because usually

you won't frequently access the DCT.

0 Likes