CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: bladefistx2

Search: Search took 0.03 seconds.

  1. Replies
    9
    Views
    11,799

    Re: Multithreading Strange behaviour

    Ok... Great - thanks for the tips Arjay and Codeplug.
  2. Replies
    9
    Views
    11,799

    Re: Multithreading Strange behaviour

    Ok, i'll fix the casting.

    by different OS i mean windows XP, 2000, and 7... they all give different amount of output lines.

    I think this has something to do with the Windows Scheduler.
    Does...
  3. Replies
    9
    Views
    11,799

    Re: Multithreading Strange behaviour

    >>>>Correction<<<<

    disregard my previous comment...

    I just realized why this happens...

    My next question, is a little more complex.
    How come the number of times the threads print to screen...
  4. Replies
    9
    Views
    11,799

    Re: Multithreading Strange behaviour

    I saw your three examples of running it.

    what I was expecting was actually the first example.
    I still don't quite understand why I get a different output every time,
    and more importantly why...
  5. Replies
    9
    Views
    11,799

    Multithreading Strange behaviour

    Hi there...
    I'm new to this forum so please correct me if this is not the right place to post this...

    I have created two threads in the following code, and was expecting the threads to behave...
Results 1 to 5 of 5





Click Here to Expand Forum to Full Width

Featured