capturing davis346 camera from two different threads

20 views
Skip to first unread message

Raymond Linn

unread,
May 31, 2024, 4:56:42 AM5/31/24
to davis-users
Any of you know how can I capture camera event streams from two different threads simultaneously in C++.

Luca Longinotti

unread,
Jun 4, 2024, 5:03:23 AM6/4/24
to davis...@googlegroups.com
Hello,
can you elaborate?

Current libcaer and dv-processing are thread-safe from ONE thread. If you need to get the data from multiple threads, you'll have to put locks around dataGet() or readNextEventBatch() and friends.
-- 
Luca Longinotti (llongi)

Head of Embedded Platforms
iniVation AG - https://inivation.com/
Zurich, Switzerland
Office: +41 44 500 32 14
Reply all
Reply to author
Forward
0 new messages