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
  1. Home
  2. General Programming
  3. C#
  4. Problem with pthread.

Problem with pthread.

Scheduled Pinned Locked Moved C#
help
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    There are two simultanous.second thread executes a funtion, before first thread excutes a wait statement.

    O 1 Reply Last reply
    0
    • L Lost User

      There are two simultanous.second thread executes a funtion, before first thread excutes a wait statement.

      O Offline
      O Offline
      One Stone
      wrote on last edited by
      #2

      And, what's the problem??

      U 1 Reply Last reply
      0
      • O One Stone

        And, what's the problem??

        U Offline
        U Offline
        Uwe Keim
        wrote on last edited by
        #3

        None. Is there a rule that forces a forum post to state a problem? :-D -- Affordable Windows-based CMS for only 99 €: try www.zeta-producer.com for free!

        T 1 Reply Last reply
        0
        • U Uwe Keim

          None. Is there a rule that forces a forum post to state a problem? :-D -- Affordable Windows-based CMS for only 99 €: try www.zeta-producer.com for free!

          T Offline
          T Offline
          Tom Larsen
          wrote on last edited by
          #4

          Heh, evidently not. :) Just from the vague details I would suggest reorganizing the code so that the original poster's code does not run into a state where it is asking to "wait" in a thread unsafe place. Other than that, we need more details because none of us are mind readers. :)

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

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