11 Nov
2009
11 Nov
'09
8:13 p.m.
At Wed, 11 Nov 2009 12:05:39 -0700, Troy Kisky wrote:
Takashi Iwai wrote:
Yes, in theory. But this doesn't happen actually because you usually read the response often. The read sequence synchronizes.
Can resume type processing send a lot of verbs without waiting for a response?
Usually not many like 256, I guess. In doubt, give some printks and count by yourself...
Speaking of synchronizing, if 2 different processes simultaneously send different command verbs to the same codec, won't they both read the response of the last verb sent? Or is there locking somewhere to prevent this?
A mutex protection around the send/response pair.
Takashi