Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
U

User 8592736

@User 8592736
About
Posts
2
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Multithreading done "right"
    U User 8592736

    No. Try the following code - The ui blocks for 10 seconds - i am sure.

    private void button1_Click(object sender, EventArgs e)
    {
    Thread m_thread = new Thread(new ThreadStart(GenerateTimeLineImage));
    m_thread.Start();
    m_thread.Join();
    }

    void GenerateTimeLineImage()
    {
    Thread.Sleep(10000);
    }

    The Weird and The Wonderful performance question

  • Multithreading done "right"
    U User 8592736

    I dont think you missed the magic here. I think, you are right that the thread is pointless in this sample. You should speak to the author of this code if hes still in your company.

    The Weird and The Wonderful performance question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups