citical section

2 posts / 0 new
Last post
Offline
Last seen: 4 months 1 day ago
Joined: 01/27/2014
Posts: 8
Critical sections between datareader operations

Hello,

We got a datareader receiving every 100 milliseconds (it's a mean value) batches of 100 samples each of the samples are 60 bytes in size. The datareader max_samples is 1000.

A thread takes samples into the datareader 100 by 100, using loaning function.

We observe that most of the time the "take" operation takes less than 200 microsecond but sometime (rarely) the "take" operation can takes as much as 3-6 milliseconds to return the loaned buffer.

Organization:
Subscribe to RSS - citical section