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
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
发表时间 Thu 23 Jun 05 @ 7:50 pm
did you tried CreateThread(...) ?
发表时间 Fri 24 Jun 05 @ 8:51 am
what is a thread?
发表时间 Sat 25 Jun 05 @ 9:34 pm
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
:)
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
:)
发表时间 Sun 26 Jun 05 @ 9:11 am