Skip to content
Tcl Source Code History Of Ticket 218861
Login

History Of Ticket 218861

Artifacts Associated With Ticket 218861

  1. Ticket change [8c661b9f9c] (rid 127733) by nobody on 2000-10-26 01:06:49:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 2450 Bug
      Version: 8.2b1
      SubmitDate: '1999-07-28'
      LastModified: '1999-07-30'
      Severity: CRIT
      Status: Released
      Submitter: techsupp
      ChangedBy: redman
      OS: IRIX
      OSVersion: 6.5
      Machine: Other
      FixedDate: '1999-07-30'
      FixedInVersion: 8.2b2
      ClosedDate: '2000-10-25'
      
      
      Name:
      Brent Welch
      
      Extensions:
      none
      
      Comments:
      Customer is James Dennet, [email protected]
          "
          I don't have the Posix spec for Pthreads; I'm working from man pages and
          the O'Reilly book.  Apparently "the Pthreads standard defines scheduling
          as an optional feature" so probably the Tcl configuration should test
          for
          it.
          Alternatively, if the first pthread_create fails then try again with a
          NULL thread attributes argument, and avoid the need for conditional
          compilation (at the cost of an extra library -- hopefully not system --
          call on some systems).
          
          Pthreads in Irix 6.5 do seem to be pretty solid (better than in previous
          releases, at least).  The only quirk I've found (assuming sufficiently
          OS patches have been applied) is that the user-space scheduler is
          slightly
          broken in the presence of blocking I/O, which can starve threads doing
          non-blocking I/O of cycles.  Then again, blocking I/O is evil...
          "
      
      ReproducibleScript:
      Building with --enable-threads on IRIX 6.5 produces a tclsh that
          hangs on startup.  The bug is in TclpThreadCreate.
          The user says:
          Commenting out the line
           /*    pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM); */
          makes this work on my Irix 6.5 machine.
      
      
      
      Applied patch submitted in subsequent email.
       
      -- 07/30/1999 redman
      
    4. foundin initialized to: "obsolete: 8.2b1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to: "Threaded build doesn't work on IRIX 6.5"
    11. type initialized to: "Bug"
  2. Ticket change [fb89ad3916] (rid 92082) by welch on 2000-10-26 08:30:14:

    1. closedate changed to: "2000-10-26T01:30:14"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [d62ed7260d] (rid 123762) by dgp on 2001-04-18 21:47:43:

    1. subsystem changed to: "49. Threading"
  4. Ticket change [2dd97db478] (rid 119127) by dgp on 2001-04-18 21:47:44:

    1. closedate changed to: "2001-04-18T14:47:44"
    2. closer changed to: "dgp"