Quick Sign In:  

Forum: VirtualDJ Plugins

Topic: Device Mapper with multiple Threads.

This topic is old and might contain outdated or incorrect information.

pernPRO InfinityMember since 2004

Are the core device mapper functions thread safe ? I want to add one or two extra threads to handle some background tasks.

What about: SendCommand / GetInfo. And calling other threads from OnButton / OnSlider etc.
 

Posted Mon 04 Aug 08 @ 5:27 am
pernPRO InfinityMember since 2004
Let me elaborate what i want to do if this is unclear.


One thing i want to do is add an Extra 20 char * 4 rows LCD display support to my DAC2/DMC1 mapper (Special version). This to be able to display much more information. And i want this code to be in it's own thread. But it should get its data both via Getinfo and OnButton/OnSlider etc.

The LCD display is USB based via a virtual serial port.
 

Posted Mon 04 Aug 08 @ 12:25 pm
TexZKPRO InfinityMember since 2005
I remember them crashing on old DJC mappers. I don't now if it has changed now.
 

Posted Mon 04 Aug 08 @ 1:22 pm
pernPRO InfinityMember since 2004
Calling GetInfo from another thread ? Guess i can use it without calling that and just having the send functionality in it's own thread.
 

Posted Mon 04 Aug 08 @ 1:37 pm
djcelPRO InfinityModeratorMember since 2004
There is no thread problem. But try to use a timer if you can.
 

Posted Thu 07 Aug 08 @ 4:10 am
pernPRO InfinityMember since 2004
ok, Just got the USB 2 LCD inteface board to work. So i will start testing that now.
 

Posted Thu 07 Aug 08 @ 8:14 am


(Old topics and forums are automatically closed)