Click here to Skip to main content
16,018,419 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to make setup & deploy a Pocket Pc application Pin
Jalpesh B. Patel25-Jul-07 4:25
Jalpesh B. Patel25-Jul-07 4:25 
GeneralRe: How to make setup & deploy a Pocket Pc application Pin
Raza Hussain26-Jul-07 2:00
Raza Hussain26-Jul-07 2:00 
Questionplaying video files? Pin
Tarun.Suneja25-Jul-07 4:07
Tarun.Suneja25-Jul-07 4:07 
AnswerRe: playing video files? Pin
ashukasama25-Jul-07 4:21
ashukasama25-Jul-07 4:21 
GeneralRe: playing video files? Pin
Tarun.Suneja25-Jul-07 4:37
Tarun.Suneja25-Jul-07 4:37 
GeneralRe: playing video files? Pin
ekynox25-Jul-07 4:50
ekynox25-Jul-07 4:50 
QuestionSynchronizing Mulithreaded Loops Pin
Salamandras25-Jul-07 4:05
Salamandras25-Jul-07 4:05 
AnswerRe: Synchronizing Mulithreaded Loops Pin
PhilDanger25-Jul-07 4:37
PhilDanger25-Jul-07 4:37 
Disclaimer: although I have studied threading, I am no guru, so take my suggestion with a grain of salt.

Also I'm not sure of .NET threading syntax, so everything will be in pseudocode.
---

Have one thread act as a scheduler for the rest of the threads, telling them when they are allowed to run.

1. Start running each thread.
2. When a thread completes an iteration, tell it to Wait on some condition variable that is regulated by the scheduler thread.
3. The scheduler thread will do nothing until the wait queue is "full" IE all available thread are waiting, or the "running" queue is empty.
4. The scheduler broadcasts to all waiting threads, telling them to wake up and start running.
AnswerRe: Synchronizing Mulithreaded Loops Pin
pbraun25-Jul-07 12:48
pbraun25-Jul-07 12:48 
QuestionTab Controls...How can I select a Tab with a keyboard press? plz help Pin
flyingnome25-Jul-07 4:03
flyingnome25-Jul-07 4:03 
Answer[Message Deleted] Pin
flyingnome25-Jul-07 6:53
flyingnome25-Jul-07 6:53 
GeneralRe: Tab Controls...How can I select a Tab with a keyboard press? plz help Pin
Dave Kreskowiak25-Jul-07 7:22
mveDave Kreskowiak25-Jul-07 7:22 
GeneralRe: Tab Controls...How can I select a Tab with a keyboard press? plz help Pin
Paul Conrad25-Jul-07 7:40
professionalPaul Conrad25-Jul-07 7:40 
GeneralRe: Tab Controls...How can I select a Tab with a keyboard press? plz help [modified] Pin
flyingnome25-Jul-07 8:16
flyingnome25-Jul-07 8:16 
GeneralRe: Tab Controls...How can I select a Tab with a keyboard press? plz help [modified] Pin
flyingnome25-Jul-07 8:18
flyingnome25-Jul-07 8:18 
GeneralRe: Tab Controls...How can I select a Tab with a keyboard press? plz help Pin
Dave Kreskowiak25-Jul-07 13:51
mveDave Kreskowiak25-Jul-07 13:51 
GeneralRe: Tab Controls...How can I select a Tab with a keyboard press? plz help Pin
flyingnome26-Jul-07 3:33
flyingnome26-Jul-07 3:33 
GeneralRe: Tab Controls...How can I select a Tab with a keyboard press? plz help Pin
Paul Conrad25-Jul-07 7:38
professionalPaul Conrad25-Jul-07 7:38 
GeneralRe: Tab Controls...How can I select a Tab with a keyboard press? plz help Pin
flyingnome25-Jul-07 8:20
flyingnome25-Jul-07 8:20 
Questionon click enter button Pin
vikas198225-Jul-07 3:34
vikas198225-Jul-07 3:34 
AnswerRe: on click enter button Pin
ashukasama25-Jul-07 3:48
ashukasama25-Jul-07 3:48 
GeneralRe: on click enter button Pin
vikas198225-Jul-07 4:31
vikas198225-Jul-07 4:31 
GeneralRe: on click enter button Pin
ashukasama25-Jul-07 4:35
ashukasama25-Jul-07 4:35 
GeneralRe: on click enter button Pin
vikas198225-Jul-07 4:45
vikas198225-Jul-07 4:45 
GeneralRe: on click enter button Pin
ashukasama25-Jul-07 4:49
ashukasama25-Jul-07 4:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.