Connexion rapide:  

Forum: VirtualDJ Plugins

Sujet multithreading

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

Has anyone experiences with multithreading ?

i tryed to instanciate a new detached thread, pass some parameters and do something in it while the plugin continues. (to avoid skipping music while waiting for IO operation)

using _beginthread Microsoft Visual c++

that's pain in my *ss :-) has onyone some working example, I googled for something but it's hard...
anyway I will try and not leave the battlefield
 

Posté Thu 23 Jun 05 @ 7:50 pm
kaleoPRO InfinityMember since 2003
did you tried CreateThread(...) ?
 

Posté Fri 24 Jun 05 @ 8:51 am
what is a thread?
 

Posté Sat 25 Jun 05 @ 9:34 pm
kaleoPRO InfinityMember since 2003
Definition from Sun (thanks google):
The basic unit of program execution. A process can have several threads running concurrently, each performing a different job, such as waiting for events or performing a time-consuming job that the program doesn't need to complete before going on. When a thread has finished its job, the thread is suspended or destroyed. See also process.
java.sun.com/applets/archive/javacontest/faq/glossary.html

French definition, from the GTR IUT of Paris13:
http://www-gtr.iutv.univ-paris13.fr/Cours/Mat/Systeme/CoursJavaThread.html#tth_sEc2

:)
 

Posté Sun 26 Jun 05 @ 9:11 am


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