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

Search:

Type: Posts; User: KChad

Search: Search took 0.00 seconds.

  1. Thread: Multithreading

    by KChad
    Replies
    26
    Views
    3,945

    Re: Multithreading

    yeah synchronizing is also possible, but I am really not sure how to go about it. My main task was to solve the banking problem, but later I found out there was a race condition

    can someone help...
  2. Thread: Multithreading

    by KChad
    Replies
    26
    Views
    3,945

    Re: Multithreading

    let the threads then run simultaneously without a race condition. I guess this can be achieved by using semaphores
  3. Thread: Multithreading

    by KChad
    Replies
    26
    Views
    3,945

    Re: Multithreading

    but how? this is where I am stuck
  4. Thread: Multithreading

    by KChad
    Replies
    26
    Views
    3,945

    Re: Multithreading

    ok lets forget about running them in order. lets them run simultaneously without a race condition
  5. Thread: Multithreading

    by KChad
    Replies
    26
    Views
    3,945

    Re: Multithreading

    How about using semaphores?
  6. Thread: Multithreading

    by KChad
    Replies
    26
    Views
    3,945

    Re: Multithreading

    Can this be solved using Synchronization; keeping the threads in place.
  7. Thread: Multithreading

    by KChad
    Replies
    26
    Views
    3,945

    Re: Multithreading

    Presumably the checking (fee) thread should run before the savings (interest) thread. And in order for things to reach a perfect world scenario, we need to avoid the race conditions. So this is...
  8. Thread: Multithreading

    by KChad
    Replies
    26
    Views
    3,945

    Re: Multithreading

    I ran it 5x. below is the output
  9. Thread: Multithreading

    by KChad
    Replies
    26
    Views
    3,945

    Multithreading

    If i have an account in a local commercial bank, I can choose to have two seperate accounts under the same name. 1. A Savings account and 2. A checking account. The fee on checking account is 10% of...
  10. Replies
    2
    Views
    512

    Generating Multiple Files

    I want to code an application that generates multiple files. I have a working code below which, when run will produce random numbers. The problem with this code is that, all the number generated are...
  11. Thread: GPS Maps

    by KChad
    Replies
    3
    Views
    2,467

    GPS Maps

    what knowledge do I need to build the above.
  12. Replies
    4
    Views
    1,871

    Re: Silly Error - Single Form

    When i hit BtnCal, and then BtnAdd, the final expectations are not met
  13. Thread: Large Factorials

    by KChad
    Replies
    19
    Views
    5,122

    Re: Large Factorials

    I am unable to execute the below code. I think
    #include <algorithm> is missing

    Where does the user get to enter the number in this piece of code?
  14. Replies
    4
    Views
    1,871

    Silly Error - Single Form

    What seems to be wrong with my code


    Public Partial Class frmGameCal


    Public Sub New()
    ' The Me.InitializeComponent call is required for Windows Forms designer support....
  15. Replies
    10
    Views
    2,312

    Re: Looking for a mentor

    Jyoung4278 and Joyce22, how exactly can you be contacted?
  16. Replies
    17
    Views
    7,804

    Re: [RESOLVED] Wombat 1

    Can this thread be deleted?
Results 1 to 16 of 16


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)