Results 1 to 3 of 3

Thread: The Semaphore Timeout Period Has Expired

  1. #1
    William McIlroy Guest

    The Semaphore Timeout Period Has Expired

    My C# program is trucking along, reading and writing, reading and writing.
    Suddenly, and without warning, it is diverted by an exception, as follows:
    The Semaphore Timeout Period Has Expired. Sounds like the horse I bet on
    came in last.

    Obviously, a semaphore is a fancy Ivy League computer science department
    amalgamation of a counter and a critical code lock. My program does not use
    semaphores. But, I bet Windows does. What in heck is going on here? How
    many other creepy things, like this unexpected OS hallucination, must I deal
    with? And where?
    --
    William McIlroy


  2. #2
    Pegasus \(MVP\) Guest

    Re: The Semaphore Timeout Period Has Expired


    "William McIlroy" <[email protected]> wrote in
    message news:[email protected]...
    > My C# program is trucking along, reading and writing, reading and writing.
    > Suddenly, and without warning, it is diverted by an exception, as follows:
    > The Semaphore Timeout Period Has Expired. Sounds like the horse I bet on
    > came in last.
    >
    > Obviously, a semaphore is a fancy Ivy League computer science department
    > amalgamation of a counter and a critical code lock. My program does not
    > use
    > semaphores. But, I bet Windows does. What in heck is going on here? How
    > many other creepy things, like this unexpected OS hallucination, must I
    > deal
    > with? And where?
    > --
    > William McIlroy
    >


    I would check Google and also the MS Knowledge Base.



  3. #3
    William McIlroy Guest

    Re: The Semaphore Timeout Period Has Expired

    By inspection, the Event Log showed an undetermined kind of HDD error at the
    same time the message "The Semaphore Timeout Period Has Expired" was handed
    to my code by Windows 2003 Server. So, says I, humph. Must be a disk
    problem. I tried my program again. Again it failed at the same spot. I
    tried it a third time. Same thing. So, since the file in question was of no
    earthly use, I deleted it. It went to the Recycle bin, error intact, no
    doubt. The program had no further trouble. Lesson learned: Do not expect
    an error message to convey more information than the simple fact that a
    problem occurred and it is your problem to figure out what. I believe the
    error message in this case violates the Unix standard for length. It is much
    too long. However, it makes up for that with inscrutability. It speaks of
    "The Semaphore" as if it is common knowledge what semaphore it refers to.
    Nuts.
    --
    William McIlroy



    "Pegasus (MVP)" wrote:

    >
    > "William McIlroy" <[email protected]> wrote in
    > message news:[email protected]...
    > > My C# program is trucking along, reading and writing, reading and writing.
    > > Suddenly, and without warning, it is diverted by an exception, as follows:
    > > The Semaphore Timeout Period Has Expired. Sounds like the horse I bet on
    > > came in last.
    > >
    > > Obviously, a semaphore is a fancy Ivy League computer science department
    > > amalgamation of a counter and a critical code lock. My program does not
    > > use
    > > semaphores. But, I bet Windows does. What in heck is going on here? How
    > > many other creepy things, like this unexpected OS hallucination, must I
    > > deal
    > > with? And where?
    > > --
    > > William McIlroy
    > >

    >
    > I would check Google and also the MS Knowledge Base.
    >
    >
    >


Similar Threads

  1. Replies: 4
    Last Post: 02-04-2011, 08:27 AM
  2. Replies: 3
    Last Post: 21-12-2010, 02:42 PM
  3. 'The semaphore timeout period has expired.' error with command File.Copy
    By Chandrakant81 in forum Software Development
    Replies: 2
    Last Post: 02-02-2009, 06:54 PM
  4. Error: 0x80070079 The semaphore timeout period has expired.
    By Delil in forum Windows Vista Performance
    Replies: 1
    Last Post: 11-02-2008, 06:42 PM
  5. Replies: 1
    Last Post: 04-03-2007, 02:59 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,751,401,849.15102 seconds with 16 queries