Connexion rapide:  

Forum: VirtualDJ Plugins

Sujet Device Mapper with multiple Threads.

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

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.
 

Posté 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.
 

Posté 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.
 

Posté 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.
 

Posté 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.
 

Posté 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.
 

Posté Thu 07 Aug 08 @ 8:14 am


(Les anciens sujets et forums sont automatiquement fermés)